blautenb 2004/01/25 16:29:48
Modified: c/src/utils/unixutils XSECURIResolverGenericUnix.cpp
Log:
Check for Xerces new way of handling NULL hostnames in URIs
Revision Changes Path
1.6 +5 -2
xml-security/c/src/utils/unixutils/XSECURIResolverGenericUnix.cpp
Index: XSECURIResolverGenericUnix.cpp
===================================================================
RCS file:
/home/cvs/xml-security/c/src/utils/unixutils/XSECURIResolverGenericUnix.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- XSECURIResolverGenericUnix.cpp 11 Sep 2003 11:29:12 -0000 1.5
+++ XSECURIResolverGenericUnix.cpp 26 Jan 2004 00:29:48 -0000 1.6
@@ -71,6 +71,9 @@
* $Id$
*
* $Log$
+ * Revision 1.6 2004/01/26 00:29:48 blautenb
+ * Check for Xerces new way of handling NULL hostnames in URIs
+ *
* Revision 1.5 2003/09/11 11:29:12 blautenb
* Fix Xerces namespace usage in *NIX build
*
@@ -222,7 +225,7 @@
// This is a file. We only really understand if this is
localhost
// XMLUri has already cleaned of escape characters (%xx)
- if (xmluri->getHost() == NULL ||
+ if (xmluri->getHost() == NULL || xmluri->getHost()[0] == chNull
||
!XMLString::compareIString(xmluri->getHost(),
XMLUni::fgLocalHostString)) {
// Localhost