tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Semicolon URI encoding and RFC
Date Wed, 11 May 2011 13:28:48 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mindaugas,

On 5/11/2011 9:16 AM, Mindaugas Žakšauskas wrote:
> On Tue, May 10, 2011 at 7:31 PM, Christopher Schultz
> <chris@christopherschultz.net> wrote:
>> <..>
>> What about http://site/test1%28test2/
>>
>> Does that give you "/test1)test2/"?
> 
> Closing bracket is %29 but yes, it does.
> 
>> If so, Tomcat is probably following SOP with regard to standards which
>> is to be conservative in what you send and liberal in what you accept.
> 
> Which is all good and understandable. But I would like to print <a
> href="/test1)test2"> rather than <a href="/test1%29test2"> for better
> readability as now I don't know what requires to be encoded and what
> not.

So, you want to /only/ escape those entities that are /absolutely
required/ to be escaped? I'm not sure anyone really cares what URLs look
like, do they? And if they do, why not change them so this escaping
thing isn't necessary?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3KjxAACgkQ9CaO5/Lv0PBgFACgp07NpN3tRcYrrygztGXfreuO
vIgAn3dCeJ1YXPP0bLWwxFKobDhmBaok
=pOa2
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message