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

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