summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-07-11 15:54:05 +0100
committerRichard Hughes <richard@hughsie.com>2014-07-11 16:04:05 +0100
commit7670d8eede5136262d5c19ba2eade8e23bd560a9 (patch)
tree7c7981fcabb0191bdf1041459e6145f85d2958e8 /data
parenta1a7f250db4a0ffdd76de9ee6fd9b673acda7dbf (diff)
downloadappstream-glib-7670d8eede5136262d5c19ba2eade8e23bd560a9.tar.gz
Be more careful with untrusted XML data
xspim.desktop has '<keyword> </keyword>' which the parser accepts and gets added to the metadata. Fix this both in the read and write side.
Diffstat (limited to 'data')
-rw-r--r--data/tests/example.desktop1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/tests/example.desktop b/data/tests/example.desktop
index 3f9de72..ea5809c 100644
--- a/data/tests/example.desktop
+++ b/data/tests/example.desktop
@@ -8,6 +8,7 @@ Exec=gcm-viewer
Terminal=false
Type=Application
Categories=GNOME;GTK;System;
+Keywords=Color; ;Viewer;
StartupNotify=true
NoDisplay=true
X-GNOME-Bugzilla-Bugzilla=GNOME