Forgot to allow https on http_tryget

This commit is contained in:
Christopher Rienzo 2012-07-17 14:29:36 +00:00
parent 8ad5d8a6b0
commit ac3e6ba140
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}