Your message dated Tue, 28 Jan 2020 06:52:32 +0000
with message-id <[email protected]>
and subject line Bug#949164: Removed package(s) from unstable
has caused the Debian Bug report #471357,
regarding python-zsi: wsdl2py generates faulty code for SSL-secured services
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.)
--
471357: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471357
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-zsi
Version: 1.7-2
Severity: normal
Tool wsdl2py generates two files -- one for service description and one
for types description.
But service location is not handled properely, because it ignores
protocol name -- it assumes that http is used and port 80. I would
suggest to take https in consideration.
So instead of:
netloc = (urlparse.urlparse(addr)[1]).split(":") + [80,]
if not kw.has_key("host"):
kw["host"] = netloc[0]
if not kw.has_key("port"):
kw["port"] = int(netloc[1])
if not kw.has_key("url"):
kw["url"] = urlparse.urlparse(addr)[2]
it should generate:
netloc = list(urlparse.urlparse(addr))
netloc[1] = netloc[1].split(':')
netloc[1].extend(netloc[0] == 'http' and ['80',] or ['443',])
if not kw.has_key("host"):
kw["host"] = netloc[1][0]
if not kw.has_key("port"):
kw["port"] = int(netloc[1][1])
if not kw.has_key("url"):
kw["url"] = netloc[2]
if netloc[0][-1] == 's':
kw["ssl"] = True
After this change ssl=True and port=443 is set properely.
File wsdl2python.py is responsible for this program.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-iplus
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Versions of packages python-zsi depends on:
ii python 2.4.4-2 An interactive high-level object-o
ii python-central 0.5.12 register and build utility for Pyt
ii python-xml 0.8.4-6 XML tools for Python
python-zsi recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.1~a1-4+rm
Dear submitter,
as the package zsi has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/949164
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team