aboutsummaryrefslogtreecommitdiffstats
path: root/nanoftp.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-08-07 10:46:19 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-08-07 10:46:19 +0000
commit336a8e13bf013d6cf260c8b78a1129cef1e3662c (patch)
treed029856887b8da081a6ee5d9517d04cce1cde9e3 /nanoftp.c
parent29f6100e69b3ac907dc16fa5423ce9468820e518 (diff)
downloadandroid_external_libxml2-336a8e13bf013d6cf260c8b78a1129cef1e3662c.tar.gz
android_external_libxml2-336a8e13bf013d6cf260c8b78a1129cef1e3662c.tar.bz2
android_external_libxml2-336a8e13bf013d6cf260c8b78a1129cef1e3662c.zip
get rid of the dependancy on a locally installed DTD try to cleanup the
* test/relaxng/docbook_0.xml: get rid of the dependancy on a locally installed DTD * uri.c include/libxml/uri.h xmlIO.c nanoftp.c nanohttp.c: try to cleanup the Path/URI conversion mess, needed fixing in various layers and a new API to the uri module which also fixes #306861 * runtest.c: integrated a regression test specific to check the URI conversions done before calling the I/O handlers. Daniel
Diffstat (limited to 'nanoftp.c')
-rw-r--r--nanoftp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nanoftp.c b/nanoftp.c
index b7dc7532..cd16e5b3 100644
--- a/nanoftp.c
+++ b/nanoftp.c
@@ -316,7 +316,7 @@ xmlNanoFTPScanURL(void *ctx, const char *URL) {
}
if (URL == NULL) return;
- uri = xmlParseURI(URL);
+ uri = xmlParseURIRaw(URL, 1);
if (uri == NULL)
return;
@@ -377,7 +377,7 @@ xmlNanoFTPUpdateURL(void *ctx, const char *URL) {
if (ctxt->hostname == NULL)
return(-1);
- uri = xmlParseURI(URL);
+ uri = xmlParseURIRaw(URL, 1);
if (uri == NULL)
return(-1);
@@ -440,7 +440,7 @@ xmlNanoFTPScanProxy(const char *URL) {
#endif
if (URL == NULL) return;
- uri = xmlParseURI(URL);
+ uri = xmlParseURIRaw(URL, 1);
if ((uri == NULL) || (uri->scheme == NULL) ||
(strcmp(uri->scheme, "ftp")) || (uri->server == NULL)) {
__xmlIOErr(XML_FROM_FTP, XML_FTP_URL_SYNTAX, "Syntax Error\n");