Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11849

HTTP Basic Authentication for monitoring external jobs does not allow escaped characters in user or password

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core

      It looks like basic authentication does not allow escaped passwords. It encodes the escape characters. For example:

      HUDSON_HOME=http://user:p%40ssword@testjenkins.com/

      Right now, the Base64Encoder will encode "user : p%40ssword" instead of "user : p@ssword". This causes a 403 Unauthorized.

      It looks like it just needs a call to java.net.URLDecoder.decode before Base64Encoder.encode in core/src/main/java/hudson/Main.java.

            Unassigned Unassigned
            notid bryce covert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: