summaryrefslogtreecommitdiff
path: root/urnresolve
diff options
context:
space:
mode:
authorepoch <epoch@enzo.thebackupbox.net>2021-06-14 20:17:49 +0000
committerepoch <epoch@enzo.thebackupbox.net>2021-06-14 20:17:49 +0000
commit06f4665fed2ee020f2194f4cbb03e5c604f6007a (patch)
tree6c28960bc825a6e815a15ec0e83905aa50ee32ba /urnresolve
parentef335722beec14e6bdb30e263629b3caa23e591b (diff)
downloaduritools-06f4665fed2ee020f2194f4cbb03e5c604f6007a.tar.gz
uritools-06f4665fed2ee020f2194f4cbb03e5c604f6007a.zip
added made-up urn:mitre:cve: URN namespace
Diffstat (limited to 'urnresolve')
-rwxr-xr-xurnresolve6
1 files changed, 6 insertions, 0 deletions
diff --git a/urnresolve b/urnresolve
index 864859b..1ce59be 100755
--- a/urnresolve
+++ b/urnresolve
@@ -28,6 +28,12 @@ if [ "$nid" = "xkcd" ];then
echo "https://xkcd.com/${nss}"
fi
+if [ "$nid" = "mitre" ];then
+ if [ "$nss" = "cve" ];then
+ echo "https://www.cvedetails.com/cve/CVE-${nss2}/"
+ fi
+fi
+
if [ "$nid" = "fcc" ];then
if [ "$nss" = "frs" ];then
grep "^$nss2\s" $PREFIX/share/urn/fcc:frs | cut -f2