diff options
Diffstat (limited to 'libgupnp/gupnp-service.c')
-rw-r--r-- | libgupnp/gupnp-service.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c index 4c491ee..c12866c 100644 --- a/libgupnp/gupnp-service.c +++ b/libgupnp/gupnp-service.c @@ -417,7 +417,11 @@ control_server_handler (SoupServer *server, *end = '\0'; /* Parse action_node */ - 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) { soup_server_message_set_status (msg, SOUP_STATUS_BAD_REQUEST, |