1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

- uri.c: applied Marc Sanfacon's patch for xmlNormalizeURIPath

Daniel
This commit is contained in:
Daniel Veillard
2001-02-02 08:20:19 +00:00
parent e99a476722
commit ea28ce621c
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Fri Feb 2 09:18:53 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* uri.c: applied Marc Sanfacon's patch for xmlNormalizeURIPath
Thu Feb 1 05:28:55 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr> Thu Feb 1 05:28:55 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* xpath.c: fixed a number of problems in XPATH_XSLT_TREE processing * xpath.c: fixed a number of problems in XPATH_XSLT_TREE processing

3
uri.c
View File

@ -641,6 +641,9 @@ xmlNormalizeURIPath(char *path) {
*/ */
if ((path[cur] == '.') && (path[cur + 1] == '/')) { if ((path[cur] == '.') && (path[cur + 1] == '/')) {
cur += 2; cur += 2;
if (path[cur] == 0) {
path[out++] = 0;
}
continue; continue;
} }