A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-November/030463.html below:

[Python-checkins] python/dist/src/Lib xmlrpclib.py,1.21,1.22

[Python-checkins] python/dist/src/Lib xmlrpclib.py,1.21,1.22effbot@users.sourceforge.net effbot@users.sourceforge.net
Fri, 01 Nov 2002 09:14:19 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv15732/Lib

Modified Files:
	xmlrpclib.py 
Log Message:


patch #624180 (part 2 of 2):

use unquote on authentication strings, to allow users to embed
@ and : in user names and passwords (from Phillip Eby)


Index: xmlrpclib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xmlrpclib.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** xmlrpclib.py	22 Oct 2002 18:23:00 -0000	1.21
--- xmlrpclib.py	1 Nov 2002 17:14:16 -0000	1.22
***************
*** 1066,1070 ****
          if auth:
              import base64
!             auth = base64.encodestring(auth)
              auth = string.join(string.split(auth), "") # get rid of whitespace
              extra_headers = [
--- 1066,1070 ----
          if auth:
              import base64
!             auth = base64.encodestring(urllib.unquote(auth))
              auth = string.join(string.split(auth), "") # get rid of whitespace
              extra_headers = [





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4