|
Posted by Oli Filth on 11/18/05 19:18
meltedown said the following on 18/11/2005 17:17:
> black francis wrote:
>
>> sorry, it`s 'one space.html' -> 'one%20space.html' not '+'.
>>
>> as u said, it's 'unsafe' to use spaces according to the rcf, therefore
>> the browser encodes them (isn`t that rfc compliant?)
>>
>> btw: the w3 validator isn't yelling anything by using a space in the
>> url (html 4.01 strict, xhtml 1.0 strict & transitional).
>> btw2: %23 gets treated as %23, not #.
>>
> http://reenie.org/test/test16.php?value=start%23end
> click on this url and the first line tells you the value of $_GET
> It says: $_GET is:Array ( [value] => start#end )
>
> So it looks to me like the %23 is treated as #.
>
Yes, but now try echoing $_SERVER["REQUEST_URI"].
It is PHP that translates the octet, not the browser.
--
Oli
[Back to original message]
|