From: Terry Wilson Date: Tue, 27 Oct 2009 16:48:54 +0000 (+0000) Subject: Don't prepend the URI prefix to the post directory X-Git-Tag: 11.0.0-beta1~3970 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba8176dc5271e99a127fac9d4b2d67c041e8c668;p=thirdparty%2Fasterisk.git 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 --- diff --git a/res/res_http_post.c b/res/res_http_post.c index 4a34162526..5fff5d8bad 100644 --- a/res/res_http_post.c +++ b/res/res_http_post.c @@ -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;