W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] [WF2] action="mailto:" - encoding spaces

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 2 Dec 2008 10:00:11 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0812020957400.17401@hixie.dreamhostps.com>
On Tue, 2 Dec 2008, Michael A. Puls II wrote:
> 
> Consider this form:
> 
> <form action="mailto:?subject=1+2" action="POST">
>    <input type="submit" value="Compose">
> </form>
> 
> (which contains a valid mailto URI meaning that "1+2" should be the 
> value of the subject)
> 
> Imagine in your browser that it supports setting the default mailto URI 
> handler to Gmail (a web-based client that uses *http* URIs).
> 
> If you submit that form, you'd get
> <https://mail.google.com/mail/?compose=1&view=cm&fs=1&su=1+2>

Why? How so?

Are you referring to the registerProtocolHandler() API, to mailto: form 
submission, or to something else?

Could you lay out the steps that take us from a form submission using a 
mailto: URL to an HTTPS request to GMail?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 2 December 2008 02:00:11 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC