Forgot to allow https on http_tryget
This commit is contained in:
parent
8ad5d8a6b0
commit
ac3e6ba140
|
@ -934,7 +934,7 @@ SWITCH_STANDARD_API(http_cache_tryget)
|
||||||
switch_memory_pool_t *pool = NULL;
|
switch_memory_pool_t *pool = NULL;
|
||||||
char *filename;
|
char *filename;
|
||||||
|
|
||||||
if (zstr(cmd) || strncmp("http://", cmd, strlen("http://"))) {
|
if (!isUrl(cmd)) {
|
||||||
stream->write_function(stream, "USAGE: %s\n", HTTP_GET_SYNTAX);
|
stream->write_function(stream, "USAGE: %s\n", HTTP_GET_SYNTAX);
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue