URL canonicalization

jay jay at jk3.us
Wed Sep 14 15:44:11 PDT 2005


Dan Libby wrote:
> Still, I wonder about things like %20 and + in the URL. They can mean
> the same character when unescaped.
>
> Or a URL like "http://people.com/users//sally", where the "//" should be
> converted to a single '/' by the webserver.
>   
%20 is the url encoded version of space, and many browsers convert 
spaces in inputs to +, but the two are still different (and a real space 
is not allowed in a url)

// can be treated as / on the server, but they are separate urls.  And 
example: 
http://www.dijjer.org/get/http://www.law.duke.edu/cspd/contest/finalists/entries/stealinghome.mov.

Not that anyone will use a dijjerized url for their openid, but still :)

Jay K


More information about the yadis mailing list