gdbus: properly escape introspection annotations
authorRyan Lortie <desrt@desrt.ca>
Wed, 8 Jan 2014 15:56:57 +0000 (10:56 -0500)
committerRyan Lortie <desrt@desrt.ca>
Thu, 9 Jan 2014 03:58:06 +0000 (22:58 -0500)
commit04ee78248631e4ae2dc9b7088fee60c57515d3d1
tree6913001d8423f3245d654108061e4082360053da
parent38720494452aa336eb2f168ac4bd2add138c400e
gdbus: properly escape introspection annotations

Make sure we escape any special characters that are found in annotation
names or values to avoid emitting a malformed XML document in response
to an Introspect call.

https://bugzilla.gnome.org/show_bug.cgi?id=721796
gio/gdbusintrospection.c