Your message dated Wed, 17 Sep 2008 17:32:17 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#499277: fixed in python-dns 2.3.3-2
has caused the Debian Bug report #499277,
regarding python-dns security update breaks existing applications
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
499277: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499277
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python-dns
Version: 2.3.0-5.2+etch1
Severity: grave
Justification: breaks existing applications

Hello,

after upgrading our production servers running Zope 3, we started hitting
the following exception:

2008-09-17T06:06:57 ERROR SiteError http://www.loveismatch.com/signup.html
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/zope/publisher/publish.py", line 133, 
in publish
    result = publication.callObject(request, obj)
  File 
"/usr/lib/python2.4/site-packages/zope/app/publication/zopepublication.py", 
line 161, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  File "/usr/lib/python2.4/site-packages/zope/publisher/publish.py", line 108, 
in mapply
    return debug_call(obj, args)
   - __traceback_info__: <bound method UserRegistration.__call__ of 
<zope.app.publisher.browser.viewmeta.UserRegistration object at 0x2aaaabf9c610>>
  File "/usr/lib/python2.4/site-packages/zope/publisher/publish.py", line 114, 
in debug_call
    return obj(*args)
  File 
"/var/lib/zope3/instance/loveismatch_3/lib/python/loveismatch/browser/users.py",
 line 114, in __call__
    validators.Email(resolve_domain=True).to_python(values['email'])
  File "/usr/lib/python2.4/site-packages/formencode/api.py", line 322, in 
to_python
    vp(value, state)
  File "/usr/lib/python2.4/site-packages/formencode/validators.py", line 1227, 
in validate_python
    domains = mxlookup(splitted[1])
  File "/var/lib/python-support/python2.4/DNS/lazy.py", line 26, in mxlookup
    a = Base.DnsRequest(name, qtype = 'mx').req().answers
  File "/var/lib/python-support/python2.4/DNS/Base.py", line 191, in req
    m.addQuestion(qname, qtype, Class.IN)
  File "/var/lib/python-support/python2.4/DNS/Lib.py", line 466, in addQuestion
    self.addname(qname)
  File "/var/lib/python-support/python2.4/DNS/Lib.py", line 133, in addname
    self.buf = self.buf + buf
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 0: ordinal 
not in range(128)


As you can see, I'm using formencode to validate an e-mail address with the
following instruction:

    validators.Email(resolve_domain=True).to_python(values['email'])

It worked for years, and just stopped working after the upgrade. Reverting to
the old package (version 2.3.0-5.1) fixed the problem.

Thanks,

-- 
Fabio Tranchitella                         http://www.kobold.it
Free Software Developer and Consultant     http://www.tranchitella.it
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564



--- End Message ---
--- Begin Message ---
Source: python-dns
Source-Version: 2.3.3-2

We believe that the bug you reported is fixed in the latest version of
python-dns, which is due to be installed in the Debian FTP archive:

python-dns_2.3.3-2.diff.gz
  to pool/main/p/python-dns/python-dns_2.3.3-2.diff.gz
python-dns_2.3.3-2.dsc
  to pool/main/p/python-dns/python-dns_2.3.3-2.dsc
python-dns_2.3.3-2_all.deb
  to pool/main/p/python-dns/python-dns_2.3.3-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Kitterman <[EMAIL PROTECTED]> (supplier of updated python-dns package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 17 Sep 2008 13:13:59 -0400
Source: python-dns
Binary: python-dns
Architecture: source all
Version: 2.3.3-2
Distribution: unstable
Urgency: medium
Maintainer: [EMAIL PROTECTED]
Changed-By: Scott Kitterman <[EMAIL PROTECTED]>
Description: 
 python-dns - pydns - DNS client module for Python
Closes: 499277
Changes: 
 python-dns (2.3.3-2) unstable; urgency=medium
 .
   * Add unicode-fix.patch so unicode DNS names don't cause a crash
     (Closes: #499277)
Checksums-Sha1: 
 76e6e78c9b8f1ef10f86b94a011c3aa4fa262c7a 1355 python-dns_2.3.3-2.dsc
 c822629074073453027a73873a618048d063bc66 6716 python-dns_2.3.3-2.diff.gz
 4d064dfb0a9cab5c9cbdeebbd7eee9d98597608e 29146 python-dns_2.3.3-2_all.deb
Checksums-Sha256: 
 897e93895443d37cfa4c0d868d3a38671a1a7994d9e798a85e09e12bfcf89d0e 1355 
python-dns_2.3.3-2.dsc
 5871bb92a22483318310067c6be71ffb2307ec6effb0dcd5e93a2cf8a7465f11 6716 
python-dns_2.3.3-2.diff.gz
 43da8de17ff2c267f8993cdcfb13d5905ed7f8686d5d30c70361dd6e33f77e42 29146 
python-dns_2.3.3-2_all.deb
Files: 
 01f0c6694f4d28f9566c511ce06b0cd8 1355 python optional python-dns_2.3.3-2.dsc
 4576976d19de312ca5f859c8a5e6423d 6716 python optional 
python-dns_2.3.3-2.diff.gz
 d4ab075a7c16523a34676b0c1a3e7522 29146 python optional 
python-dns_2.3.3-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI0TwqHajaM93NaGoRAmU0AJ9ydIHSFOLc8LPD92bRvPFYOqWKagCfZMCh
Up5tkitzHFeJr+v4uYlezKA=
=VGbK
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to