]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 226099 via svnmerge from
authorTerry Wilson <twilson@digium.com>
Tue, 27 Oct 2009 17:04:41 +0000 (17:04 +0000)
committerTerry Wilson <twilson@digium.com>
Tue, 27 Oct 2009 17:04:41 +0000 (17:04 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r226099 | twilson | 2009-10-27 11:48:54 -0500 (Tue, 27 Oct 2009) | 2 lines

  Don't prepend the URI prefix to the post directory
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@226100 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_http_post.c

index 3425aaee25cf4ae0c286cbe4a8690f33207affb6..0c141da394aa0b3e13ca798a2fbb0f07297e8e08 100644 (file)
@@ -307,7 +307,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->supports_get = 0;