summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2011-10-11 15:35:45 +0200
committerBastien Nocera <hadess@hadess.net>2013-02-12 18:15:23 +0100
commit6ee851325813b2d9a0a35e26b43d74e8f33aa677 (patch)
treee9f32b633f6cf3cabca909c5c7edbd1b00f8b78d
parent5cb1444444f1708959a34b5c23ff4ef317cbadd6 (diff)
Add text/x-uuencode
https://bugs.freedesktop.org/show_bug.cgi?id=41684
-rw-r--r--freedesktop.org.xml.in9
-rw-r--r--tests/list2
-rw-r--r--tests/test.uue4
3 files changed, 15 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 7079dcd..0c0cc53 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -5448,6 +5448,15 @@ command to generate the output files.
<sub-class-of type="text/plain"/>
<!-- Note: text/uri-list is reserved by the XDND protocol! -->
</mime-type>
+ <mime-type type="text/x-uuencode">
+ <_comment>uuencoded file</_comment>
+ <sub-class-of type="text/plain"/>
+ <glob pattern="*.uue"/>
+ <magic priority="50">
+ <match type="string" value="begin " offset="0"/>
+ </magic>
+ <alias type="zz-application/zz-winassoc-uu"/>
+ </mime-type>
<mime-type type="text/x-xmi">
<_comment>XMI file</_comment>
<acronym>XMI</acronym>
diff --git a/tests/list b/tests/list
index 21cedfe..fced778 100644
--- a/tests/list
+++ b/tests/list
@@ -326,6 +326,8 @@ test.zip application/zip
libgcc.a application/x-archive
# Created by hand
foo-0.1-1.fc18.src.rpm application/x-source-rpm ox
+# Created using sharutils 4.11.1
+test.uue text/x-uuencode
# Audio/Video files
# Copied from /usr/share/sounds/generic.wav
diff --git a/tests/test.uue b/tests/test.uue
new file mode 100644
index 0000000..5c75fba
--- /dev/null
+++ b/tests/test.uue
@@ -0,0 +1,4 @@
+begin 644 hello
+,2&5L;&\@5V]R;&0*
+`
+end