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

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated: