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 23:05:10 UTC

svn commit: r633294 - /webservices/axis2/trunk/c/util/src/uri.c

Author: senaka
Date: Mon Mar  3 14:05:09 2008
New Revision: 633294

URL: http://svn.apache.org/viewvc?rev=633294&view=rev
Log:
Using HTTP as the default scheme to support Abbreviated URLs

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=633294&r1=633293&r2=633294&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/uri.c (original)
+++ webservices/axis2/trunk/c/util/src/uri.c Mon Mar  3 14:05:09 2008
@@ -390,6 +390,7 @@
     /* scheme must be non-empty and followed by :// */
     if (s == uri_str || s[0] != ':' || s[1] != '/' || s[2] != '/')
     {
+        uri->scheme = axutil_strdup("http"); /* if no scheme use HTTP */
         goto deal_with_authority;    /* backwards predicted taken! */
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org