Blame SOURCES/cobbler-uudecode.patch

1330ca
diff -rupN cobbler-2.0.7.old/scripts/services.py cobbler-2.0.7/scripts/services.py
1330ca
--- cobbler-2.0.7.old/scripts/services.py	2015-07-29 10:26:04.312785484 -0400
1330ca
+++ cobbler-2.0.7/scripts/services.py	2015-07-29 08:41:25.904423573 -0400
1330ca
@@ -22,6 +22,7 @@ import os
1330ca
 from cobbler.services import CobblerSvc
1330ca
 import yaml # PyYAML version
1330ca
 import cobbler.utils as utils
1330ca
+import urllib
1330ca
 
1330ca
 #=======================================
1330ca
 
1330ca
@@ -34,7 +35,7 @@ def handler(req):
1330ca
     but we still need to use the token for all remote requests.
1330ca
     """
1330ca
 
1330ca
-    my_uri = req.uri
1330ca
+    my_uri = urllib.unquote(req.uri)
1330ca
     
1330ca
     req.add_common_vars()
1330ca
  
1330ca
diff -rupN cobbler-2.0.7.old/scripts/services.wsgi cobbler-2.0.7/scripts/services.wsgi
1330ca
--- cobbler-2.0.7.old/scripts/services.wsgi	2015-07-29 10:26:04.312785484 -0400
1330ca
+++ cobbler-2.0.7/scripts/services.wsgi	2015-07-29 10:14:41.360193691 -0400
1330ca
@@ -22,13 +22,14 @@ Foundation, Inc., 51 Franklin Street, Fi
1330ca
 import yaml
1330ca
 import os
1330ca
 import xmlrpclib
1330ca
+import urllib
1330ca
 
1330ca
 from cobbler.services import CobblerSvc
1330ca
 import cobbler.utils as utils
1330ca
 
1330ca
 def application(environ, start_response):
1330ca
 
1330ca
-    my_uri = environ['REQUEST_URI']
1330ca
+    my_uri = urllib.unquote(environ['REQUEST_URI'])
1330ca
     
1330ca
     form = {}
1330ca