[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 53751] Whitespaces in URL's are not expanded to %20
From: "Timo A.Hummel" <timo.hummel () gmx ! net>
Date: 2003-09-21 19:28:06
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=53751
------- Additional Comments From timo.hummel@gmx.net 2003-09-21 21:28 -------
Probably I failed to explain it correctly. Remember that Konqueror handles such
URL's correctly, but it is a "usability problem". Actually I don't know what the
current behaviour is, but this bug is based on Konqueror which came with KDE 3.0.x.
Assume you have got the following URL (imagine <SPACE> as regular space as typed
on the keyboard):
http://www.foo.bar/test<SPACE>image.png
With that URL, we have a few problems:
- Copying that URL out of the location bar to another application usually breaks
the link since the <SPACE> is handled as URL end.
- Some web servers expect an URL-encoded (i.e. %20) space instead of a plain space.
- Plain spaces within URL's are considered unsafe as of RFC 1738
(ftp://ftp.rfc-editor.org/in-notes/rfc1738.txt).
How other browsers handle this:
- If an URL contains a space, it will be transparently replaced with their
urlencoded counterparts (e.g. http://www.foo.bar/test<SPACE>image.png will
placed as http://www.foo.bar/test%20image.png in the clipboard).
If you look at the original bug report, you'll notice the URL:
http://www.monday-rec.com/party/2002-09-07 Studio/
"Studio/" belongs to the original URL, but isn't handled as such since the space
breaks it. The Link as inserted using Konqueror. With Mozilla, it would have
looked like that:
http://www.monday-rec.com/party/2002-09-07%20Studio/
Mozilla replaced the space with %20 when I copied it to the clipboard.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic