Author: samisa
Date: Tue Mar 27 08:54:58 2007
New Revision: 522966
URL: http://svn.apache.org/viewvc?view=rev&rev=522966
Log:
Added double quotes around SOAP action URI
Modified:
webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c
Modified:
webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c
URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c?view=diff&rev=522966&r1=522965&r2=522966
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c
(original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c
Tue Mar 27 08:54:58 2007
@@ -388,12 +388,15 @@
if (axis2_strcmp(soap_action, ""))
{
axis2_char_t *temp_content_type
= NULL;
- temp_content_type =
axis2_stracat(content_type, ";action=", env);
+ temp_content_type =
axis2_stracat(content_type, ";action=\"", env);
AXIS2_FREE(env->allocator,
content_type);
content_type =
temp_content_type;
temp_content_type =
axis2_stracat(content_type, soap_action, env);
AXIS2_FREE(env->allocator,
content_type);
content_type =
temp_content_type;
+ temp_content_type = axis2_stracat(content_type, "\"",
env);
+ AXIS2_FREE(env->allocator,
content_type);
+ content_type = temp_content_type;
}
}
}
@@ -416,10 +419,13 @@
content_type = temp_content_type;
if (axis2_strcmp(soap_action, ""))
{
- temp_content_type =
axis2_stracat(content_type, ";action=", env);
+ temp_content_type =
axis2_stracat(content_type, ";action=\"", env);
AXIS2_FREE(env->allocator,
content_type);
content_type = temp_content_type;
temp_content_type =
axis2_stracat(content_type, soap_action, env);
+ AXIS2_FREE(env->allocator,
content_type);
+ content_type = temp_content_type;
+ temp_content_type = axis2_stracat(content_type, "\"", env);
AXIS2_FREE(env->allocator,
content_type);
content_type = temp_content_type;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]