repo: uritools
action: commit
revision: 
path_from: 
revision_from: 06f4665fed2ee020f2194f4cbb03e5c604f6007a:
path_to: 
revision_to: 
git.thebackupbox.net
uritools
git clone git://git.thebackupbox.net/uritools
commit 06f4665fed2ee020f2194f4cbb03e5c604f6007a
Author: epoch 
Date:   Mon Jun 14 20:17:49 2021 +0000

    added made-up urn:mitre:cve: URN namespace

diff --git a/urnresolve b/urnresolve
index 864859b5fe5ddf8c7d37df89cdeefd85b72a128d..
index ..1ce59be3371b1fd6239e8572bcdc28a1d9abe353 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

-----END OF PAGE-----