Re: [xml] xmlURIEscape and user authentication
- From: Daniel Veillard <veillard redhat com>
- To: Mark_Vakoc peoplesoft com
- Cc: xml gnome org
- Subject: Re: [xml] xmlURIEscape and user authentication
- Date: Thu, 1 Apr 2004 15:08:42 -0500
On Thu, Apr 01, 2004 at 11:58:03AM -0700, Mark_Vakoc peoplesoft com wrote:
xmlURIEscape seems to trample on the user part of a URI. xmlSaveUri
assumes a http style uri (http://user somewhere com/) and doesn't work
properly for mailto type schemes, but for libxml2 that is probably ok.
Well each scheme has it own escaping rules which makes generic escaping
quite messy.
However calling the following:
xmlUriEscape(BAD_CAST "http://user somewhere com") results in
"http:user@//somewhere.com". The attach patch fixes that, but still does
oops :-) okay, applied !
not properly handle the mailto type scheme. Again, probalby not a problem
for libxml2 and would be difficult to fix without adding lots of scheme
specific logic.
yeah. However if short I'm not against adding said logic, especially
for a scheme as common as "mail:" . However libxml2 itself should not
need it for its own processing.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]