[projects/pld-builder.new] Quote names in links to git repos in queue.html
draenog
draenog at pld-linux.org
Thu Jan 30 21:51:00 CET 2014
commit c3347125176c99a4a85dd3527850c7933e20c446
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Thu Jan 30 20:42:47 2014 +0000
Quote names in links to git repos in queue.html
PLD_Builder/request.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/PLD_Builder/request.py b/PLD_Builder/request.py
index a0d5139..3735e0c 100644
--- a/PLD_Builder/request.py
+++ b/PLD_Builder/request.py
@@ -262,9 +262,9 @@ class Batch:
desc = "SH: <pre>%s</pre> flags: [%s]" % (self.command, ' '.join(self.command_flags))
else:
package_url = "http://git.pld-linux.org/gitweb.cgi?p=packages/%(package)s.git;f=%(spec)s;h=%(branch)s;a=shortlog" % {
- 'spec': self.spec,
- 'branch': self.branch,
- 'package': self.spec[:-5],
+ 'spec': urllib.quote(self.spec),
+ 'branch': urllib.quote(self.branch),
+ 'package': urllib.quote(self.spec[:-5]),
}
desc = "%(src_rpm)s (<a href=\"%(package_url)s\">%(spec)s -r %(branch)s</a>%(rpmopts)s)" % {
'src_rpm': self.src_rpm,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/c3347125176c99a4a85dd3527850c7933e20c446
More information about the pld-cvs-commit
mailing list