From ba8176dc5271e99a127fac9d4b2d67c041e8c668 Mon Sep 17 00:00:00 2001
From: Terry Wilson <twilson@digium.com>
Date: Tue, 27 Oct 2009 16:48:54 +0000
Subject: [PATCH] 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
---
 res/res_http_post.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
GitLab