<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19493</bug_id>
          
          <creation_ts>2012-10-12 03:14:50 +0000</creation_ts>
          <short_desc>Mailto URI Composition and Consumption</short_desc>
          <delta_ts>2014-01-14 13:42:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>Unwelcome</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael A. Puls II">shadow2531</reporter>
          <assigned_to name="Michael[tm] Smith">mike</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>sideshowbarker+unwelcome</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>76062</commentid>
    <comment_count>0</comment_count>
    <who name="Michael A. Puls II">shadow2531</who>
    <bug_when>2012-10-12 03:14:50 +0000</bug_when>
    <thetext>This info might help:

I have a mailto URI spec page at &lt;http://shadow2531.com/opera/testcases/mailto/mailto_uri_scheme_idea.html&gt; (old page is at &lt;http://shadow2531.com/opera/testcases/mailto/modern_mailto_uri_scheme.html&gt; and has more text-based parsing rules instead of just JS examples, but the parsing is a little out of date on that old page).
 
On that page is a &quot;consuming&quot; section that may be of interest to your mailto URI research. The consuming rules are very web-compatible. There is one issue mentioned in the &quot;Converting the URI to a dataset&quot; section with &quot;#&quot; though. Basically, my findings in &lt;http://lists.w3.org/Archives/Public/public-iri/2009Oct/0030.html&gt; for the &quot;mailto:test#abc&quot; case might be incorrect (even though no one disputed it).
 
I also have a post here &lt;http://lists.w3.org/Archives/Public/public-iri/2009Sep/0013.html&gt; that&apos;s based off Opera bug CORE-36435 (mentioned in DSK-263481 and worked around by mail.ru devs) that Opera still has today.
 
Also mentioned on my mailto URI spec page is &lt;http://shadow2531.com/js/mailto_uri_parser.js&gt;. It&apos;s based off of my spec and is used in production in &lt;https://addons.opera.com/en/extensions/details/gmail-compose/?display=en&gt;. There&apos;s also &lt;http://shadow2531.com/sm/html5_mailto.php.zip&gt; that&apos;s based on those rules and is used to make SquirrelMail accept what HTML5&apos;s registerProtcolHandler emits.
 
Also, there&apos;s &lt;http://shadow2531.com/opera/testcases/mailto/MailtoURIParserPack.zip&gt; that&apos;s mentioned at: &lt;http://shadow2531.com/opera/testcases/mailto/modern_mailto_uri_scheme.html#implementations&gt;.
 
&quot;In MailtoURIParserPack.zip are C, C++, D, Java, Javascript, Perl, Python, Ruby, Pike, Lua, Tcl, PHP5 and Python3000 MailtoURIParser classes that use the rules in this document to show examples of parsing. The test above uses a Javascript version to parse the mailto link to generate the form data.&quot;
 
Those implementations in the pack are outdated, but they&apos;re still useful for the general idea of parsing mailto URIs.
 
On a side note, the reason that I made my own mailto spec is that my suggestios for error handling in the mailto RFC were rejected as being out of scope.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93037</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-09-05 13:20:59 +0000</bug_when>
    <thetext>So it seems this should be a separate document about processing the output of the URL parser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98423</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-14 13:42:03 +0000</bug_when>
    <thetext>Moving to Unwelcome for now until we find a home for mailto.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>