diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2010-12-02 12:01:16 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2010-12-02 12:01:16 +0000 |
commit | d0060ea09749752aa6c15676beb0467faef0f9f1 (patch) | |
tree | c50f0db369204c2409a676f2060082f7b4af9a65 /gdata/gcontact | |
parent | 852579001a8e76c4cb5b5413429342dd643647f5 (diff) | |
download | libgdata-d0060ea09749752aa6c15676beb0467faef0f9f1.tar.gz |
gcontact: Fix attribute escaping for GDataGContactCalendar
Helps: bgo#631033
Diffstat (limited to 'gdata/gcontact')
-rw-r--r-- | gdata/gcontact/gdata-gcontact-calendar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdata/gcontact/gdata-gcontact-calendar.c b/gdata/gcontact/gdata-gcontact-calendar.c index 48bdbe1a..d17b4a94 100644 --- a/gdata/gcontact/gdata-gcontact-calendar.c +++ b/gdata/gcontact/gdata-gcontact-calendar.c @@ -279,7 +279,7 @@ pre_get_xml (GDataParsable *parsable, GString *xml_string) gdata_parser_string_append_escaped (xml_string, " href='", priv->uri, "'"); if (priv->relation_type != NULL) - g_string_append_printf (xml_string, " rel='%s'", priv->relation_type); + gdata_parser_string_append_escaped (xml_string, " rel='", priv->relation_type, "'"); else if (priv->label != NULL) gdata_parser_string_append_escaped (xml_string, " label='", priv->label, "'"); else |