At 12:23 AM 8/31/01, you wrote:
>Hello.
>
>Some time ago (again, bad memory :) someone mentioned about HTML4's use
>of ';' instead of '&' due to SGML/XML problems.
>
>I'm currently using XML+XSLT extensively, and need to put a URL similar
>to article.adp?id=1234&long=1 but it fails unless I make it &
>instead of &.
>
>So with adding one switch in core sources (I already added it in my
>testing AOLserver), is it possible to simply use ';' instead of '&' for
>URL encoding? ie '<A HREF="z.adp?a=b;c=d">foo bar</A>' ?
>
>Anyone ever tested it?

I submitted a patch to AOLserver 3.3 ns_querytoset (you can find it on
sourceforge) a few days ago to do just this.  I've been using it so as to
integrate htDig into various AOLserver sites, and htDig does use semicolons
instead of ampersands in its URI encoding scheme.

https://sourceforge.net/tracker/index.php?func=detail&aid=456052&group_id=3152&atid=303152

I believe it is safe, since both ampersands and semicolons are supposed to
be URL encoded, so if ns_querytoset comes across the naked characters, its
presumably because they were intended to be found, and anyone using
semicolons should be encoding ampersands.

Jerry

=====================================================
Jerry Asher                       [EMAIL PROTECTED]
1678 Shattuck Avenue Suite 161    Tel: (510) 549-2980
Berkeley, CA 94709                Fax: (877) 311-8688

Reply via email to