diff options
Diffstat (limited to 'libgupnp/gupnp-service-proxy.c')
-rw-r--r-- | libgupnp/gupnp-service-proxy.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c index 24d2bdd..9313500 100644 --- a/libgupnp/gupnp-service-proxy.c +++ b/libgupnp/gupnp-service-proxy.c @@ -1048,7 +1048,11 @@ server_handler (G_GNUC_UNUSED SoupServer *soup_server, soup_server_message_get_request_body (msg); /* Parse the actual XML message content */ - doc = xmlRecoverMemory (request_body->data, request_body->length); + doc = xmlReadMemory (request_body->data, + request_body->length, + NULL, + NULL, + XML_PARSE_NONET | XML_PARSE_RECOVER); if (doc == NULL) { /* Failed */ g_warning ("Failed to parse NOTIFY message body"); |