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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            bryce covert
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: