]> git.ktnx.net Git - icedeb.git/commitdiff
Translate "dsa-1234" and "DSA 1234" to "DSA-1234"
authorDamyan Ivanov <dmn@debian.org>
Tue, 1 Aug 2017 10:05:48 +0000 (10:05 +0000)
committerDamyan Ivanov <dmn@debian.org>
Tue, 1 Aug 2017 10:05:48 +0000 (10:05 +0000)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697878

icedeb.js

index 5b8cd3c26dd934118893185c1cf07a819ba3cd04..26ea6cf11146fa9eb9adab0d52512e73a7f22a68 100644 (file)
--- a/icedeb.js
+++ b/icedeb.js
@@ -146,6 +146,8 @@ function link_clicked(e) {
       url = 'https://buildd.debian.org/' + clip;
       break;
     case 'security':
+      clip = clip.replace(' ', '-');
+      clip = clip.toUpperCase();
       url = 'https://security-tracker.debian.org/tracker/' + clip;
       break;
     case 'piuparts':