mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +00:00
Don't prepend the URI prefix to the post directory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -445,7 +445,7 @@ static int __ast_http_post_load(int reload)
|
||||
|
||||
urih->description = ast_strdup("HTTP POST mapping");
|
||||
urih->uri = ast_strdup(v->name);
|
||||
ast_str_set(&ds, 0, "%s/%s", prefix, v->value);
|
||||
ast_str_set(&ds, 0, "%s", v->value);
|
||||
urih->data = ds;
|
||||
urih->has_subtree = 0;
|
||||
urih->callback = http_post_callback;
|
||||
|
Reference in New Issue
Block a user