[Webkit-unassigned] [Bug 14555] Spaces should be encoded as %20 in mailto URLs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 2 17:59:23 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=14555





------- Comment #4 from shadow2531 at gmail.com  2008-01-02 17:59 PDT -------
(In reply to comment #3)
> Fixed (1) and (2) in <http://trac.webkit.org/projects/webkit/changeset/29086>.

Thanks

> Since other browsers do not seem to encode spaces as suggested in (3), I have
> left this for later. The test case mentions efforts to get specs corrected -
> have those been successful? Also, is there a Firefox bug for (3)?

The issue raised at <
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2007-January/009210.html >
and < http://lists.w3.org/Archives/Public/public-html/2007May/1061.html > is
still not resolved in HTML5 yet because the WebForms part of the spec hasn't
been reviewed and put into HTML5. The editor of Xforms has also seen those
links. No one really has given any feedback yet though.

I've also mentioned this issue to the authors of RFC2368. They at least
recognize the problem and believe that it's unfortunate that
application/x-www-form-urlencoded uses '+' for spaces instead of %20.

For this issue I've suggested clarifications in the replacement for RFC2368 <
http://tools.ietf.org/html/draft-duerst-mailto-bis-03 >, but it has expired and
I have not seen anything come of that yet. Instead, I've been making my own  <
http://shadow2531.com/opera/testcases/mailto/modern_mailto_uri_scheme.html >,
which adresses this in the encoding section and in the forms section (which
needs more work, but has a js example of what Firefox does for both GET and
POST with action="mailto:" with an included fix for encoding spaces as %20).

I don't think there's a Mozilla bug on this, but I'm pretty sure those in the
HTML working group from Mozilla have seen the HTML5 posts above.

I did file an Opera bug though, but forms in Opera with action="mailto:" are
still partially broken, so what Opera does for #3 will have to wait till forms
with action="mailto:" are fixed in general.

For method="post" and action="mailto:", it might not make sense, but for
method="get" and action="mailto:", it makes sense for sure to generate spaces
as %20 instead of +. (You can easily see how things break when spaces are
generated as + instead of %20 like they are now.)

However, you are right, other browsers don't get it right either. So, I guess
we must wait.


-- 
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