From d01e9aa0df6471befde64550db232968732d975e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 30 Dec 1997 04:20:58 +0000 Subject: the usual --- Lib/dos-8x3/cgihttps.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Lib/dos-8x3/cgihttps.py') diff --git a/Lib/dos-8x3/cgihttps.py b/Lib/dos-8x3/cgihttps.py index 85e1721721..b40edbced4 100755 --- a/Lib/dos-8x3/cgihttps.py +++ b/Lib/dos-8x3/cgihttps.py @@ -148,8 +148,7 @@ class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): if ua: env['HTTP_USER_AGENT'] = ua # XXX Other HTTP_* headers - import regsub - decoded_query = regsub.gsub('+', ' ', query) + decoded_query = string.replace(query, '+', ' ') try: os.setuid(nobody) except os.error: -- cgit v1.2.1