From e8b29bfc9dfd8a30ab6090743804c828f4ff1c1d Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Wed, 13 Apr 2005 20:30:05 +0000 Subject: Decode source URL before writing it into the kickstart file (#154149). --- instdata.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'instdata.py') diff --git a/instdata.py b/instdata.py index e75f448e8..516f0c23a 100644 --- a/instdata.py +++ b/instdata.py @@ -28,6 +28,7 @@ import partitions import partedUtils import hdrlist import zfcp +import urllib from flags import * from constants import * @@ -131,7 +132,7 @@ class InstallData: # figure out the install method and write out a line if self.methodstr.startswith('ftp://') or self.methodstr.startswith('http://'): - f.write("url --url %s\n" % (self.methodstr,)) + f.write("url --url %s\n" % urllib.unquote(self.methodstr)) elif self.methodstr.startswith('cdrom://'): f.write("cdrom\n") elif self.methodstr.startswith('hd://'): -- cgit