in reply to Re: Post Email address as CGI Parameter
in thread Post Email address as CGI Parameter

Email addresses in mailto: links do not need special characters like the @ escaped in the HTML. mailto: links that specify a subject, body, etc. do need those values escaped, see e.g. here. Email addresses in URLs do need to be escaped, one way to do that has already been shown above.

Replies are listed 'Best First'.
Re^3: Post Email address as CGI Parameter
by Anonymous Monk on Jan 07, 2015 at 13:35 UTC
    Even more specific: mailto's are specified in RFC 6068 with some definitions coming from RFC 5322. Those specify the exact rules, a little complicated to summarize here, but for example the @ between the local-part and domain in the addresses shouldn't be escaped. The URI module claims to support the now obsolute mailto specification from RFC 2368.