From: Ken Rice Date: Fri, 27 Nov 2015 16:39:38 +0000 (-0600) Subject: FS-8582 #resolve make sure the URL being passed here is not null X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aba5892bdba0d9c3bf5701855b05820b643bd159;p=thirdparty%2Ffreeswitch.git FS-8582 #resolve make sure the URL being passed here is not null --- diff --git a/src/mod/applications/mod_httapi/mod_httapi.c b/src/mod/applications/mod_httapi/mod_httapi.c index 844f1707dd..bda956111b 100644 --- a/src/mod/applications/mod_httapi/mod_httapi.c +++ b/src/mod/applications/mod_httapi/mod_httapi.c @@ -2206,7 +2206,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session) var = switch_event_get_header(client->params, "url"); - if (client->record.action) { + if (var && client->record.action) { if (strcmp(var, client->record.action)) { switch_event_add_header_string(client->one_time_params, SWITCH_STACK_BOTTOM, "url", client->record.action); httapi_sync(client);