diff options
author | Chris Lumens <clumens@redhat.com> | 2005-04-13 20:30:05 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-04-13 20:30:05 +0000 |
commit | e8b29bfc9dfd8a30ab6090743804c828f4ff1c1d (patch) | |
tree | c703c37f77f694e500177ee938e80a6b61a0962f /instdata.py | |
parent | 85a19c0a53a642fc6e4c5193c815908404fc4538 (diff) | |
download | anaconda-e8b29bfc9dfd8a30ab6090743804c828f4ff1c1d.tar.gz anaconda-e8b29bfc9dfd8a30ab6090743804c828f4ff1c1d.tar.xz anaconda-e8b29bfc9dfd8a30ab6090743804c828f4ff1c1d.zip |
Decode source URL before writing it into the kickstart file (#154149).
Diffstat (limited to 'instdata.py')
-rw-r--r-- | instdata.py | 3 |
1 files changed, 2 insertions, 1 deletions
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://'): |