[asterisk-commits] twilson: trunk r226099 - /trunk/res/res_http_post.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 27 11:48:57 CDT 2009


Author: twilson
Date: Tue Oct 27 11:48:54 2009
New Revision: 226099

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=226099
Log:
Don't prepend the URI prefix to the post directory

Modified:
    trunk/res/res_http_post.c

Modified: trunk/res/res_http_post.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_http_post.c?view=diff&rev=226099&r1=226098&r2=226099
==============================================================================
--- trunk/res/res_http_post.c (original)
+++ trunk/res/res_http_post.c Tue Oct 27 11:48:54 2009
@@ -445,7 +445,7 @@
 
 			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;




More information about the asterisk-commits mailing list