diff options
author | John Tytgat <joty@netsurf-browser.org> | 2008-05-25 15:04:22 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2008-05-25 15:04:22 +0000 |
commit | 3f6d2a9f0c89f42fccff3b9bd8c79ed96ef0e5b8 (patch) | |
tree | 41de812a917e7b227cac0c8a374328506ec7ecb9 /gtk/gtk_schedule.c | |
parent | 497372c2574b3458f6344892887dc0857f40d7ce (diff) | |
download | netsurf-3f6d2a9f0c89f42fccff3b9bd8c79ed96ef0e5b8.tar.gz netsurf-3f6d2a9f0c89f42fccff3b9bd8c79ed96ef0e5b8.tar.bz2 |
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
Diffstat (limited to 'gtk/gtk_schedule.c')
0 files changed, 0 insertions, 0 deletions