W3C home > Mailing lists > Public > www-p3p-dev@w3.org > October 2001

Re: Case sensitivity of urls

From: Martin Presler-Marshall <mpresler@us.ibm.com>
Date: Mon, 29 Oct 2001 07:09:35 -0500
To: www-p3p-dev@w3.org
Message-ID: <OFBB0E1B56.DF5A72F0-ON85256AF4.0042815F@raleigh.ibm.com>
     URLs are case-sensitive, so any operations on them should use
case-sensitive operations. It's true that some servers, including those
running on Windows platforms, will map case-sensitive URLs to a
case-insensitive filesystem, but the URLs themselves are fundamentally
case-sensitive.

     -- Martin

Martin Presler-Marshall - Program Manager, Privacy Technology
E-mail: mpresler@us.ibm.com     AIM: jhreingold
Phone: (919) 254-7819 (tie-line 444-7819) Fax: (919) 254-6430 (tie-line
444-6430)



                                                                                                                     
                    "Giles Hogben"                                                                                   
                    <giles.hogben@jr       To:     "p3pdev" <www-p3p-dev@w3.org>                                     
                    c.it>                  cc:                                                                       
                    Sent by:               Subject:     Case sensitivity of urls                                     
                    www-p3p-dev-requ                                                                                 
                    est@w3.org                                                                                       
                                                                                                                     
                                                                                                                     
                    10/29/2001 06:24                                                                                 
                    AM                                                                                               
                                                                                                                     
                                                                                                                     



We have come across a problem in our testing relating to the INCLUDE and
EXCLUDE urls in policy reference files:
The question is, should the urls contained in these be matched case
insensitive or case sensitive.
There seem to be problems associated with both alternatives:

1. If you require case sensitivity, then if the user accesses a Microsoft
based server with the wrong case, the policy will not be found.
For example if I try to access www.microsoftserver.com/testPage.html
which is actually at www.microsoftserver.com/testpage.html
And my policyreference file contains <INCLUDE>/testpage.html</INCLUDE>
2. If you do not require case sensitivity, then on a Unix based server,
there could conceivably be different policies applying to files which
differ only by case for example

<INCLUDE>/testpage.html</INCLUDE>
<EXCLUDE>/testPage.html</EXCLUDE>

What is the policy on this?

Thanks

Giles Hogben
Received on Monday, 29 October 2001 08:04:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 18 June 2010 00:12:47 GMT