libxml2 r3781 - trunk



Author: veillard
Date: Wed Aug 27 17:23:41 2008
New Revision: 3781
URL: http://svn.gnome.org/viewvc/libxml2?rev=3781&view=rev

Log:
* uri.c: bug in parsing RFC 3986 uris with port numbers
Daniel


Modified:
   trunk/ChangeLog
   trunk/uri.c

Modified: trunk/uri.c
==============================================================================
--- trunk/uri.c	(original)
+++ trunk/uri.c	Wed Aug 27 17:23:41 2008
@@ -490,6 +490,7 @@
     ret = xmlParse3986Host(uri, &cur);
     if (ret != 0) return(ret);
     if (*cur == ':') {
+        cur++;
         ret = xmlParse3986Port(uri, &cur);
 	if (ret != 0) return(ret);
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]