summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2007-02-11 22:56:33 +0100
committerpjmattal <pjmattal>2007-02-11 22:56:33 +0100
commita19d27a70a564a73a818eacc45c65debe47d6d27 (patch)
treede407beea2948406e9f38262d549d6602897153a
parent723f1afde8ebb066700e64ccff74d2e04a0a2f3d (diff)
downloadaur-a19d27a70a564a73a818eacc45c65debe47d6d27.tar.gz
aur-a19d27a70a564a73a818eacc45c65debe47d6d27.tar.xz
fixed bug #5779 - error with + in package names
-rwxr-xr-xtupkg/client/tupkg2
-rwxr-xr-xtupkg/server/tupkgs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tupkg/client/tupkg b/tupkg/client/tupkg
index 4ce1fa0c..a1d26d58 100755
--- a/tupkg/client/tupkg
+++ b/tupkg/client/tupkg
@@ -62,7 +62,7 @@ class ClientSocket:
def sendMsg(self, msg):
if type(msg) == dict:
- msg = urllib.unquote(urllib.urlencode(msg,1))
+ msg = urllib.urlencode(msg,1)
length = struct.pack("H", socket.htons(len(msg)))
self.socket.sendall(length)
self.socket.sendall(msg)
diff --git a/tupkg/server/tupkgs b/tupkg/server/tupkgs
index 3b2c5100..a5618158 100755
--- a/tupkg/server/tupkgs
+++ b/tupkg/server/tupkgs
@@ -92,7 +92,7 @@ class ClientSocket(threading.Thread):
def sendMsg(self, msg):
if type(msg) == dict:
- msg = urllib.unquote(urllib.urlencode(msg,1))
+ msg = urllib.urlencode(msg,1)
length = struct.pack("H", socket.htons(len(msg)))
self.socket.sendall(length)
self.socket.sendall(msg)