#127 fedora-hosted cannot take non-alphanumeric characters in the password
Closed: Invalid None Opened 12 years ago by mcepl.

Characaters like ;) confuse the script, so that it thinks some parts of the password are number of port etc.

mitmanek:fedora-packager (master) $ trac list
Traceback (most recent call last):
File "/home/matej/.bin/trac", line 334, in <module>
File "/home/matej/.bin/trac", line 126, in list_tickets
results = trac.query_tickets(query)
File "/usr/lib/python2.6/site-packages/offtrac/init.py", line 48, in query_tickets
return self.server.ticket.query(query)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in call
return self.send(self.__name, args)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
File "/usr/lib64/python2.6/xmlrpclib.py", line 1228, in request
h = self.make_connection(host)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1414, in make_connection
return HTTPS(host, None, **(x509 or {}))
File "/usr/lib64/python2.6/httplib.py", line 1138, in __init

cert_file, strict))
File "/usr/lib64/python2.6/httplib.py", line 1105, in init
HTTPConnection.init(self, host, port, strict, timeout)
File "/usr/lib64/python2.6/httplib.py", line 661, in init
self._set_hostport(host, port)
File "/usr/lib64/python2.6/httplib.py", line 686, in _set_hostport
raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
httplib.InvalidURL: nonnumeric port: '"WUB5e.P'

Looks like it is just not possible without reprogramming half of
the HTTP stack.

Login to comment on this ticket.