mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
Forgot to allow https on http_tryget
This commit is contained in:
@@ -934,7 +934,7 @@ SWITCH_STANDARD_API(http_cache_tryget)
|
||||
switch_memory_pool_t *pool = NULL;
|
||||
char *filename;
|
||||
|
||||
if (zstr(cmd) || strncmp("http://", cmd, strlen("http://"))) {
|
||||
if (!isUrl(cmd)) {
|
||||
stream->write_function(stream, "USAGE: %s\n", HTTP_GET_SYNTAX);
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user