diff options
Diffstat (limited to 'funcs/func_uri.c')
-rw-r--r-- | funcs/func_uri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_uri.c b/funcs/func_uri.c index 5efa6ea38..ecf23d8ff 100644 --- a/funcs/func_uri.c +++ b/funcs/func_uri.c @@ -76,7 +76,7 @@ static int uriencode(struct ast_channel *chan, const char *cmd, char *data, return -1; } - ast_uri_encode(data, buf, len, 1); + ast_uri_encode(data, buf, len, ast_uri_http); return 0; } @@ -91,7 +91,7 @@ static int uridecode(struct ast_channel *chan, const char *cmd, char *data, } ast_copy_string(buf, data, len); - ast_uri_decode(buf); + ast_uri_decode(buf, ast_uri_http); return 0; } |