John Tytgat 3f6d2a9f0c Contribution from Philip Boulain <prb@ecs.soton.ac.uk>:
This makes url_normalize take care of whitespace in a fairly useful way,
consistent with other browsers:

 - Leading and trailing whitespace is trimmed
 - Internal whitespace is urlescaped

For example,
 "  http://www.google.co.uk/search?q=hello world  "
becomes
 "http://www.google.co.uk/search?q=hello%20world"

Explicit trailing whitespace, e.g. "...hello world%20", is left alone.

The upshot is that if you sloppily copy-paste a URL from IRC or whatnot
into the address bar, NetSurf no longer silently ignores you if you
caught some adjacent whitespace.

svn path=/trunk/netsurf/; revision=4198
2008-05-25 15:04:22 +00:00
2008-05-16 09:37:22 +00:00
2008-03-29 23:26:37 +00:00
2008-05-16 09:37:22 +00:00
2008-05-16 23:04:41 +00:00
Description
No description provided
33 MiB
Languages
C 95.4%
C++ 1.9%
HTML 0.8%
Makefile 0.6%
Python 0.4%
Other 0.7%