Talk:URL encoding: Difference between revisions

m
format fix
(This task is not restricted to HTTP urls)
m (format fix)
Line 8:
:::: This task is not restricted to HTTP urls, and can be applied to any string that can be encoded into this format.
:: I believe the example of an encoded url is in error (or not described properly). Specifically,
::: The string "<nowiki>http://foo bar/</nowiki>" would be encoded as "<nowiki>http%3A%2F%2Ffoo%20bar%2F</nowiki>".
::: Would only be encoded if this URL were being passed as data within another URL. See the RFC sections on Reserved Characters and When to Encode or Decode.
:::: The task is to demonstrate the encoding mechanism, rather than when to use the application of this, so we can assume that this will be used in applications where the URL string requires encoding. --[[User:Markhobley|Markhobley]] 13:01, 17 June 2011 (UTC)
Anonymous user