Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-3814

Null parameter values will break OpenID login url template expansion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.8
    • 2.8.0-OD-12
    • OpenID
    • None

    Description

      data may not be null
      java.lang.IllegalArgumentException: data may not be null
      	at org.apache.commons.httpclient.util.EncodingUtil.getBytes(EncodingUtil.java:203)
      	at org.apache.commons.httpclient.util.URIUtil.encode(URIUtil.java:502)
      	at org.apache.commons.httpclient.util.URIUtil.encodeWithinQuery(URIUtil.java:426)
      	at com.atlassian.crowd.openid.server.provider.LoginParameterMessage.formatUrlTemplate(LoginParameterMessage.java:50)
      

      Note: to create a ParameterList containing a null value, the nullary constructor must be used and parameters set, as ‘validation’ happens when using the constructor taking a Map.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hgiddens Hugh Giddens (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: