From: Mathieu Rene Date: Tue, 16 Feb 2010 01:06:35 +0000 (+0000) Subject: MODAPP-397 X-Git-Tag: v1.0.6~468 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=248745f2caf1a17d4f3a60889bb6b47bf72cc8d5;p=thirdparty%2Ffreeswitch.git MODAPP-397 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16656 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c index 547fa16a5c..7fed4c1481 100644 --- a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c +++ b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c @@ -578,10 +578,10 @@ abyss_bool handler_hook(TSession * r) stream.write_function = http_stream_write; stream.raw_write_function = http_stream_raw_write; - if (!r || !r->requestInfo.uri || !r->requestInfo.user) { + if (!r || !r->requestInfo.uri) { return FALSE; } - + if ((command = strstr(r->requestInfo.uri, "/api/"))) { command += 5; } else if ((command = strstr(r->requestInfo.uri, "/webapi/"))) {