You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by se...@apache.org on 2008/03/03 22:47:54 UTC
svn commit: r633286 - /webservices/axis2/trunk/c/util/src/uri.c
Author: senaka
Date: Mon Mar 3 13:47:52 2008
New Revision: 633286
URL: http://svn.apache.org/viewvc?rev=633286&view=rev
Log:
Fixing JIRA Issue AXIS2C-1019
Modified:
webservices/axis2/trunk/c/util/src/uri.c
Modified: webservices/axis2/trunk/c/util/src/uri.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/uri.c?rev=633286&r1=633285&r2=633286&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/uri.c (original)
+++ webservices/axis2/trunk/c/util/src/uri.c Mon Mar 3 13:47:52 2008
@@ -390,7 +390,11 @@
/* scheme must be non-empty and followed by :// */
if (s == uri_str || s[0] != ':' || s[1] != '/' || s[2] != '/')
{
- goto deal_with_path; /* backwards predicted taken! */
+ if (strchr(hostinfo, '/'))
+ {
+ goto deal_with_path;
+ }
+ goto deal_with_host; /* backwards predicted taken! */
}
uri->scheme = axutil_strmemdup(uri_str, s - uri_str, env);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org