[jira] [Commented] (CODEC-228) URLCodec.decode does not throw DecoderException with invalid UTF-8

2017-10-24 Thread Gary Gregory (JIRA)
[ 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

[jira] [Commented] (CODEC-228) URLCodec.decode does not throw DecoderException with invalid UTF-8

2017-10-23 Thread Andrew Gaul (JIRA)
[ 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,

[jira] [Commented] (CODEC-228) URLCodec.decode does not throw DecoderException with invalid UTF-8

2017-07-13 Thread Gary Gregory (JIRA)
[ 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

[jira] [Commented] (CODEC-228) URLCodec.decode does not throw DecoderException with invalid UTF-8

2017-03-30 Thread Andrew Gaul (JIRA)
[ 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

[jira] [Commented] (CODEC-228) URLCodec.decode does not throw DecoderException with invalid UTF-8

2017-03-28 Thread Sebb (JIRA)
[ 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

[jira] [Commented] (CODEC-228) URLCodec.decode does not throw DecoderException with invalid UTF-8

2017-03-26 Thread Sebb (JIRA)
[ 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

[jira] [Commented] (CODEC-228) URLCodec.decode does not throw DecoderException with invalid UTF-8

2017-03-25 Thread Andrew Gaul (JIRA)
[ 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. >

[jira] [Commented] (CODEC-228) URLCodec.decode does not throw DecoderException with invalid UTF-8

2017-03-25 Thread Gary Gregory (JIRA)
[ 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,