提交 ac3e6ba1 authored 作者: Christopher Rienzo's avatar Christopher Rienzo

Forgot to allow https on http_tryget

上级 8ad5d8a6
......@@ -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;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论