Talk:URL encoding: Difference between revisions

more needed
(about rfcs and example possibly in error or unclear)
(more needed)
Line 8:
:: I believe the example of an encoded url is in error (or not described properly). Specifically,
::: The string "http://foo bar/" would be encoded as "http%3A%2F%2Ffoo%20bar%2F".
::: 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.
:: There probably should be soome required input(s) and output(s). I noticed the perl example is very cryptic using a library and provides no output. The output it would produce doesn't match the 'example' string as it only encodes data in the path portion of the URL and not the entire URL.
: --[[User:Dgamey|Dgamey]] 09:54, 17 June 2011 (UTC)
Anonymous user