Don't prepend the URI prefix to the post directory
[asterisk/asterisk.git] / res / res_http_post.c
index 4a34162..5fff5d8 100644 (file)
@@ -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;