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 | |
| parent | 85a19c0a53a642fc6e4c5193c815908404fc4538 (diff) | |
Decode source URL before writing it into the kickstart file (#154149).
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | instdata.py | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2005-04-13 Chris Lumens <clumens@redhat.com> + + * instdata.py (InstallData.writeKS): Decode source URL (#154149). + 2005-04-13 Peter Jones <pjones@redhat.com> * scripts/upd-instroot: revert last week's nptl hack 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://'): |
