On 10/01/2008 19:39, James Vega wrote:
> On Thu, Jan 10, 2008 at 08:28:14PM +0100, Tony Mechelynck wrote:
>> The parentheses should have been percent-escaped, i.e., replaced by a 
>> percent 
>> sign and their hex value (00-FF) as in
>>
>>      http://www.vim.org/%28test%29
> 
> While it's true that the URL RFC dictates that such characters should be
> hex-escaped,

Chapter and verse please, for education purposes.  My reading of 3986 
(which updates 1738) allows ( and ) to appear in URLs with no 
requirement to percent encode.  Percent encoding of any URL characters 
that do no otherwise require them should only happen when those 
characters are used to indicate components within the URL.  Obviously 
this could be any character, including alphanums!

 > most user interfaces accept the non-escaped version so
> people don't have to remember character codes for everything.  This does
> make it more difficult to perform proper highlighting/selection of a URL
> but it's a give and take for user simplicity vs. developer hardship.
> This is also why angle brackets are specified for use as URL delimiters
> in text, since it vastly simplifies parsing.

Mike
-- 
Youth would be an ideal state if it came a little later in life.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui