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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]