Null parameter values will break OpenID login url template expansion

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.8
    • Affects Version/s: 2.8.0-OD-12
    • Component/s: OpenID
    • None

      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.

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

                Created:
                Updated:
                Resolved: