|
Alessio Fabiani created an issue |
Issue Type: |
|
---|---|
Assignee: |
Unassigned |
Created: |
20/May/15 1:59 PM |
Priority: |
|
Reporter: |
Currently the ResponseUtil.urlEncode method just uses the java.net.URLEncoder method to encode special characters for the parameters values. This works fine unless the parameter value does not represent a valid URL. The java.net.URLEncoder performs a HTML Form encoding. In other words a value like this: would result in something like the following http%3A%2F%2Fmywebsite%2F i.e. an invalid URL. A possible solution would be to add a check for a valid URL on the encodeURL method, avoiding to encode also the scheme and path of the URL in case this is provided as value of the parameter itself. /**
|
This message was sent by Atlassian JIRA (v6.5-OD-03-002#65000-sha1:b8f65f8) |
|