<?xml version="1.0"?>
<?xml-stylesheet 
 href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/11381/bug">
    <title>PEAR Bug #11381</title>
    <link>http://pear.php.net/bugs/11381</link>
    <description>[Closed] domain name is attached to content-id, trailing greater-than sign is not remove</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bugs/11381"/>
      <rdf:li rdf:resource="http://pear.php.net/bugs/11381/2007-07-25+07%3A32%3A59#2007-07-25+07%3A32%3A59"/>
      <rdf:li rdf:resource="http://pear.php.net/bugs/11381/2007-06-21+15%3A01%3A15#2007-06-21+15%3A01%3A15"/>
     </rdf:Seq>
    </items>
  </channel>
    <item rdf:about="http://pear.php.net/bugs/11381">
      <title>lxg</title>
      <link>http://pear.php.net/bugs/11381</link>
      <description><![CDATA[<pre>Mail_Mime Bug
Reported by lxg
2007-06-21T08:05:36-00:00
PHP: 5.2.2 OS: Linux Package Version: 1.5.1

Description:
------------
when adding an image to a message, a content-id is added 
to the attachment &quot;header&quot;. But there is the domain name 
of the sender attached to the content-id.

This for itself is not problematic, but a trailing 
greater-than sign (closing pointed bracket) from the 
e-mail address is not removed. This makes the HTML invalid 
as soon as the references are automatically replaced.

See ll. 642-647 in v 1.5.1.

Expected result:
----------------
Content-ID without domain name is generated and properly 
inserted. Or: Domain name is properly extracted.

Actual result:
--------------
see above</pre>]]></description>
      <content:encoded><![CDATA[<pre>Mail_Mime Bug
Reported by lxg
2007-06-21T08:05:36-00:00
PHP: 5.2.2 OS: Linux Package Version: 1.5.1

Description:
------------
when adding an image to a message, a content-id is added 
to the attachment &quot;header&quot;. But there is the domain name 
of the sender attached to the content-id.

This for itself is not problematic, but a trailing 
greater-than sign (closing pointed bracket) from the 
e-mail address is not removed. This makes the HTML invalid 
as soon as the references are automatically replaced.

See ll. 642-647 in v 1.5.1.

Expected result:
----------------
Content-ID without domain name is generated and properly 
inserted. Or: Domain name is properly extracted.

Actual result:
--------------
see above</pre>]]></content:encoded>
      <dc:date>2007-06-21T08:05:36-00:00</dc:date>
    </item>
    <item rdf:about="http://pear.php.net/bugs/11381/2007-07-25+07%3A32%3A59#2007-07-25+07%3A32%3A59">
      <title>ndrs [2007-07-25 11:32]</title>
      <link>http://pear.php.net/bugs/11381#1185363179</link>
      <description><![CDATA[<pre>The problem is still there...

The '@' symbol gets encoded, and I think it gets decoded by the mail client and not matched up to the cid on MIME.

I added '@' to removed characters and it seems to solve the problem.
mime.php, Line 645
            //Bug #11381: Illegal characters in domain ID
            $domain = str_replace(array(&quot;@&quot;, &quot;&lt;&quot;, &quot;&gt;&quot;, &quot;&amp;&quot;, &quot;(&quot;, &quot;)&quot;, &quot; &quot;, &quot;\&quot;&quot;, &quot;'&quot;), &quot;&quot;, $domain);</pre>]]></description>
      <content:encoded><![CDATA[<pre>The problem is still there...

The '@' symbol gets encoded, and I think it gets decoded by the mail client and not matched up to the cid on MIME.

I added '@' to removed characters and it seems to solve the problem.
mime.php, Line 645
            //Bug #11381: Illegal characters in domain ID
            $domain = str_replace(array(&quot;@&quot;, &quot;&lt;&quot;, &quot;&gt;&quot;, &quot;&amp;&quot;, &quot;(&quot;, &quot;)&quot;, &quot; &quot;, &quot;\&quot;&quot;, &quot;'&quot;), &quot;&quot;, $domain);</pre>]]></content:encoded>
      <dc:date>2007-07-25T11:32:59-00:00</dc:date>
    </item>
    <item rdf:about="http://pear.php.net/bugs/11381/2007-06-21+15%3A01%3A15#2007-06-21+15%3A01%3A15">
      <title>cipri [2007-06-21 19:01]</title>
      <link>http://pear.php.net/bugs/11381#1182452475</link>
      <description><![CDATA[<pre>This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

There'll be a 1.5.2 out in a few minutes, thanks for the bug report!</pre>]]></description>
      <content:encoded><![CDATA[<pre>This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

There'll be a 1.5.2 out in a few minutes, thanks for the bug report!</pre>]]></content:encoded>
      <dc:date>2007-06-21T19:01:15-00:00</dc:date>
    </item>
</rdf:RDF>