----- Original Message -----
From: "Duane Boudreau" <[EMAIL PROTECTED]>
Is there another character besides & that html will recognize as a url
parameter seperator other then & ?
----------------------------

As some people have mentioned already, all query string delimiter
ampersands in HTML URLs need to be escaped as "&amp;". Try clicking an
unescaped URL like "index.cfm?page=copy&action=edit&copyID=23" in some
v. 4 browsers to see why (clue: does "&copy" remind you of anything? ;-)

This means escaping any URLs like this in <a href>, <form action>, JS
event handlers, etc., etc. - any URL that gets parsed by the HTML
engine. I think URLs inside actual JS scripts (not event handlers or
pseudo-protocols) are OK.

As for alternatives, the 'standard' is actually supposed to be the
semicolon:

"HTTP server implementors, and in particular, CGI implementors are
encouraged to support the use of `;' in place of `&' to save users the
trouble of escaping `&' characters this way."
(from RFC1866, "HTML 2.0", http://www.faqs.org/rfcs/rfc1866.html)

That's going waaaay back! No idea why we've been lumbered with
ampersands as the default standard. Also I've never configured a server
to use semicolons, but I can't imagine it's too difficult.

- Gyrus

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to