[Webkit-unassigned] [Bug 14754] New: URL Encoding stripped for space characters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 24 13:00:36 PDT 2007


           Summary: URL Encoding stripped for space characters
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://a1135.g.akamai.net/f/1135/18227/1h/cchannel.downl
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gibbonsb at mac.com

If I use the "Mail Link to This Page..." command on the URL above it unencodes
the URL so that the occurrences of "%20" are transformed into actual space
characters. This works ok in the original html email format because it also
turns it into a link, but if I send this to a mailing list which turns it into
plain text, the spaces break the URL up and it no longer works well as a link
in many email clients.

I have a javascript bookmark in my Safari bookmark bar which does what the
"Mail Link to this Page..." command does, but is different: It encloses the URL
within angle braces as a way of telling some email clients that the URL, if it
spans lines should be considered one line of text. Here's the javascript:


This script has the same problem - the URL-coded space characters are turned
into spaces and the URL doesn't work when the mail, if it is sent in plain
text, at the receiver's end.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list