On 2012-07-10 19:03, Thushara Wijeratna wrote:
Is it possible to have tomcat treat bad URI encodings leniently? It
currently modifies a buffer in place and if a % sign is followed by
anything other than 2 hexadecimal characters, it gives up decoding and
throws an exception. But if this method was changed to a lenient decoding,
then the buffer would not be corrupt and can be returned to caller.
We get bad encodings due to various truncation issues so it is very helpful
if we can get a lenient decoding.
> ...
Well, I like "fail early". Wouldn't it be better to fix the truncation
issues instead?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org