From: Damyan Ivanov Date: Tue, 1 Aug 2017 10:05:48 +0000 (+0000) Subject: Translate "dsa-1234" and "DSA 1234" to "DSA-1234" X-Git-Tag: 2.1~3 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=29ce28d505875ae05212766dc12a55a78a5478b7;p=icedeb.git Translate "dsa-1234" and "DSA 1234" to "DSA-1234" https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697878 --- diff --git a/icedeb.js b/icedeb.js index 5b8cd3c..26ea6cf 100644 --- 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':