W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 2000

Re: Webfolders and URL encoding

From: Tim Ellison/OTT/OTI <Tim_Ellison@oti.com>
Date: Fri, 28 Apr 2000 14:42:58 -0400
To: Greg Stein <gstein@lyra.org>
Cc: w3c-dist-auth@w3.org
Message-ID: <OFFC8201AE.456DD318-ON852568CF.006527A1@ott.oti.com>

This is true (see also http://andrew2.andrew.cmu.edu/rfc/rfc1738.html).

So this format is different to the MIME format called "application/
x-www-form-urlencoded", (ref.
http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4.1) and in
particular is different to the java.net.URLEncoder behaviour.  This will
likely cause 'interesting' incompatibilities with many Java based clients.

Thanks for pointing this out.
Tim



                                                                                                    
                    Greg Stein                                                                      
                    <gstein@lyra.        To:     Tim Ellison/OTT/OTI <Tim_Ellison@oti.com>          
                    org>                 cc:     w3c-dist-auth@w3.org                               
                                         Subject:     Re: Webfolders and URL encoding               
                    28-04-00                                                                        
                    02:12 PM                                                                        
                                                                                                    
                                                                                                    



On Fri, 28 Apr 2000, Tim Ellison/OTT/OTI wrote:
> While we are on the subject of webfolders, can anyone provide insight as
to
> why WebFolders does not use '+' to encode the space character when doing
> URL encoding, and fails to recognise it on responses from the server?
>
> WebFolders appear to consistently use %20 for the space char, and don't
> decode '+' when one is returned.

'+' is not a valid encoding for 'space'. Some clients and servers do it
for parts of a URL (particularly within the 'query' section), but it is
not standard.

Refer to RFC 2396 (URLs) and RFC 2616 (HTTP), Section 3.2.
  http://andrew2.andrew.cmu.edu/rfc/rfc2396.html
  http://andrew2.andrew.cmu.edu/rfc/rfc2616.html

Cheers,
-g

--
Greg Stein, http://www.lyra.org/
Received on Friday, 28 April 2000 14:44:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:54 GMT