> Well, this is true for HTML, but here we are inside a url address. > You're not supposed to pass HTML in a url address, aren't you ?
Presumably, that URL is contained within an HTML page. Most of the links I click are actually within HTML pages. I can't speak for your experience, though. > The document you are refering to does not contain the string "url". No. It discusses the HREF attribute of an element. Hey, did you know, the anchor tag is an element? Gee, I wonder what kind of thing you put in an HREF attribute, anyway? > > http://my.site.dom/cgi-bin/myscript.pl?class=guest&name=user > > rather than > > as http://my.site.dom/cgi-bin/myscript.pl?class=guest&name=user." > > If it is true, then CF does not interpret it correctly and > does not give me the two parameters "class" and "name" Since it's a standard, issued by the governing standards body, I would assume that it's true. Of course, that doesn't mean that browsers and servers correctly honor that standard. > .... furthermore, one can read in > http://www.ietf.org/rfc/rfc1738.txt : > > "Many URL schemes reserve certain characters for a special meaning: > their appearance in the scheme-specific part of the URL has a > designated semantics. If the character corresponding to an octet > is reserved in a scheme, the octet must be encoded. > The characters ";", "/", "?", ":", "@", "=" and "&" are the > characters which may be reserved for special meaning within a > scheme. No other characters may be reserved within a scheme." > > This means that the character & has a special meaning (delimiting a > parameter) and that if the character must be passed in a string > inside some parameter value, then it should be encoded. You are correct that it has a special meaning. That doesn't mean you're correct in your assumption of what that special meaning is. It appears to me that the special meaning is to point out the beginning of a character entity. That said, I'm more interested in whether things work well than their standards conformance, so I don't bother encoding ampersands as character entities in URLs, myself. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275580 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

