[Zope-Coders] Mail System Error - Returned Mail

Mail Administrator Mail Administrator <postmaster@mac.com>
Mon, 16 Dec 2002 14:58:20 -0800


--===========================_ _= 8237915(20146+6038200)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

This Message was undeliverable due to the following reason:

The following destination addresses were unknown (please check
the addresses and re-mail the message):

SMTP <lrosenstein@mac.com>

Please reply to <postmaster@mac.com>
if you feel this message to be in error.


--===========================_ _= 8237915(20146+6038200)
Content-Type: message/delivery-status
Content-Transfer-Encoding: 7bit

Reporting-MTA: dns; ms02.mac.com
Received-From-MTA:dns; smtpin05-en2.mac.com (10.13.10.150)
Arrival-Date: Mon, 16 Dec 2002 14:58:20 -0800

Final-Recipient: rfc822;lrosenstein@mac.com
Diagnostic-Code: smtp;551 User unknown
Action: failed 
Status: 5.1.6
Last-Attempt-Date: Mon, 16 Dec 2002 14:58:20 -0800


--===========================_ _= 8237915(20146+6038200)
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit

Return-Path: <zope-coders@zope.org>
Received: from smtpin05-en2.mac.com ([10.13.10.150]) by
          ms02.mac.com (Netscape Messaging Server 4.15) with ESMTP id
          H78IH700.6XL for <lrosenstein@mac.com>; Mon, 16 Dec 2002 14:58:19 -0800 
Received: from mail.python.org (mail.python.org [12.155.117.29])
	by smtpin05-en2.mac.com (8.12.3/MantshX 2.0) with ESMTP id gBGMwITQ013059
	for <lrosenstein@mac.com>; Mon, 16 Dec 2002 14:58:18 -0800 (PST)
Received: from [12.155.117.30] (helo=cvs.baymountain.com)
	by mail.python.org with esmtp (Exim 4.05)
	id 18O4Bf-0003e2-00; Mon, 16 Dec 2002 17:58:11 -0500
From: "Collector: Zope Bugs, Features, and Patches ..." <zope-coders@zope.org>
To: Larry Rosenstein <lrosenstein@mac.com>, tseaver <tseaver@zope.com>,
   klm <klm@zope.com>, Brian <brian@zope.com>, chrism <chrism@zope.com>,
   Caseman <casey@zope.com>,
   _Resolved_ recipient <zope-collector-monitor@zope.org>
Subject: [ZC] 469/ 3 Resolve "ZPT "non-standard" char entities in attributes don't work"
X-Recipients-debug: ['Anonymous User', 'tseaver', 'klm', 'Brian', 'chrism', 'Caseman', ('_Resolved_ recipient', 'zope-collector-monitor@zope.org')]
Message-Id: <E18O4Bf-0003e2-00@mail.python.org>
Date: Mon, 16 Dec 2002 17:58:11 -0500
X-Spam-Status: No, hits=-1.7 required=5.0 tests=BODY_PYTHON_ZOPE,SPAM_PHRASE_00_01
X-Spam-Level: 

Issue #469 Update (Resolve) "ZPT "non-standard" char entities in attributes don't work"
 Status Resolved, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/469

==============================================================
= Resolve - Entry #3 by tseaver on Dec 16, 2002 5:58 pm

 Status: Pending => Resolved

Same as #721, which Evan just fixed and closed.
________________________________________
= Comment - Entry #2 by SmileyChris on Jul 18, 2002 11:30 pm

We had a discussion about this in the IRC channel. From memory: according to the XHTML standard, you are *not allowed* those "non-standard" by itself in an attribute.
________________________________________
= Request - Entry #1 by Anonymous User on Jul 10, 2002 8:10 pm

The program:

from PageTemplates.PageTemplate import PageTemplate

def bug():
    pt = PageTemplate()
    pt.write('''<input type="submit" name="&laquo;test&raquo;">''')
    print pt()
    
prints

<input type="submit" name="&amp;laquo;test&amp;raquo;">
:

Note that the character entities in the attribute value were not handled correctly.  (Only the entities listed in HTMLParser.unescape are handled properly.)

==============================================================


--===========================_ _= 8237915(20146+6038200)--