[
https://issues.apache.org/jira/browse/CODEC-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16217363#comment-16217363
]
Gary Gregory commented on CODEC-228:
Do you mean adding the API
[
https://issues.apache.org/jira/browse/CODEC-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16216165#comment-16216165
]
Andrew Gaul commented on CODEC-228:
---
[~garydgregory] Could {{URLCodec}} grow a strict parameter,
[
https://issues.apache.org/jira/browse/CODEC-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16086324#comment-16086324
]
Gary Gregory commented on CODEC-228:
It seems reasonable to me to add this extra error checking
[
https://issues.apache.org/jira/browse/CODEC-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15950240#comment-15950240
]
Andrew Gaul commented on CODEC-228:
---
Agree that this is logical behavior is {{URLCodec}} wants to mimic
[
https://issues.apache.org/jira/browse/CODEC-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15945226#comment-15945226
]
Sebb commented on CODEC-228:
Note that this behaviour agrees with java.net.URLDecoder.decode() - it also
[
https://issues.apache.org/jira/browse/CODEC-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15942341#comment-15942341
]
Sebb commented on CODEC-228:
This is because the code uses
new String(decoded_bytes, charset)
to convert the
[
https://issues.apache.org/jira/browse/CODEC-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15942137#comment-15942137
]
Andrew Gaul commented on CODEC-228:
---
While this is a valid URL encoding, it is not valid UTF-8.
>
[
https://issues.apache.org/jira/browse/CODEC-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15942133#comment-15942133
]
Gary Gregory commented on CODEC-228:
Why?
https://www.ietf.org/rfc/rfc1738.txt says:
{quote}
Thus,