diff options
author | epoch <epoch@enzo.thebackupbox.net> | 2021-06-14 20:17:49 +0000 |
---|---|---|
committer | epoch <epoch@enzo.thebackupbox.net> | 2021-06-14 20:17:49 +0000 |
commit | 06f4665fed2ee020f2194f4cbb03e5c604f6007a (patch) | |
tree | 6c28960bc825a6e815a15ec0e83905aa50ee32ba | |
parent | ef335722beec14e6bdb30e263629b3caa23e591b (diff) | |
download | uritools-06f4665fed2ee020f2194f4cbb03e5c604f6007a.tar.gz uritools-06f4665fed2ee020f2194f4cbb03e5c604f6007a.zip |
added made-up urn:mitre:cve: URN namespace
-rwxr-xr-x | urnresolve | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |