diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2020-03-28 03:25:31 -0600 |
---|---|---|
committer | Alex Henrie <alexhenrie24@gmail.com> | 2020-03-28 03:25:31 -0600 |
commit | 6b14de9ff884a5ffcc5d6dbf2279e9a5f4ff057f (patch) | |
tree | 6adbc0bc6013101e2a1e5c1351fe2c4af6222334 | |
parent | 6f67e1137d18274453f2de482a67f927dc7835ea (diff) | |
download | shared-mime-info-6b14de9ff884a5ffcc5d6dbf2279e9a5f4ff057f.tar.gz |
Add text/vbscript
Section 18.2.2 of the HTML 4.0 specification gives "text/vbscript" as
the MIME type for VBScript and no later standard has changed that.
Internet Explorer also accepts the nonstandard type text/vbs for these
files.
https://www.w3.org/TR/1998/REC-html40-19980424/interact/scripts.html#h-18.2.2
-rw-r--r-- | data/freedesktop.org.xml.in | 7 | ||||
-rw-r--r-- | tests/mime-detection/helloworld.vbs | 1 | ||||
-rw-r--r-- | tests/mime-detection/list | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 2598d150..4477b33e 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -6446,6 +6446,13 @@ command to generate the output files. </magic> <alias type="zz-application/zz-winassoc-uu"/> </mime-type> + <mime-type type="text/vbscript"> + <comment>VBScript program</comment> + <alias type="text/vbs"/> + <sub-class-of type="text/plain"/> + <generic-icon name="text-x-script"/> + <glob pattern="*.vbs"/> + </mime-type> <mime-type type="text/x-xmi"> <comment>XMI file</comment> <acronym>XMI</acronym> diff --git a/tests/mime-detection/helloworld.vbs b/tests/mime-detection/helloworld.vbs new file mode 100644 index 00000000..43049052 --- /dev/null +++ b/tests/mime-detection/helloworld.vbs @@ -0,0 +1 @@ +MsgBox("Hello World!") diff --git a/tests/mime-detection/list b/tests/mime-detection/list index e014fbaf..3e9dd5b0 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -256,6 +256,7 @@ bug-30656-xchat.conf application/octet-stream oxx bug-30656-xchat.conf text/plain x helloworld.java text/x-java ox helloworld.groovy text/x-groovy ox +helloworld.vbs text/vbscript ox build.gradle text/x-gradle ox # Copied from http://asurvey.net/ccsfagent/media/survey.js survey.js application/javascript ox |