Just as a note, the spaces in your URL are not allowed under the HTTP
spec. The fact that IE is nice and escapes the URL is just that - a
nicety that cannot be guaranteed by the user agent.
The HTTP spec only allows spaces in internal anchor references (ie #My
Section).
Kevin
>>> [EMAIL PROTECTED] 12/21/00 01:22PM >>>
You should always "protect" text going into URLs with CF's
URLEncodedFormat() function. This SHOULD prevent vagaries of
browsers.
Try:
<a href="template.cfm?word=<cfoutput>#URLEncodedFormat("a,b
c")#</cfoutput>">
-----Original Message-----
From: cf-talk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 12:01 PM
To: CF-Talk
Subject: Netscape users and spaces in Hyperlinks
Hi list,
I have a CF-Template which is called by a URL (e.g.) like:
<a href="template.cfm?word=a,b c">Template</a>
In IE 5.x this works excellent but in Netscape 4.x I get an error
concerning
the space between b and c.
IE is identifying it and is making a link automatically:
template.cfm?word=a,b%20c
NS gives me a 400 error.
I have 1200 links like the one above.
And I don't want to change them all to remove the spaces.
What can I do here for Netscape-Users ?
Ideas ?
Uwe
Mail: [EMAIL PROTECTED]
Web: www.sdsolutions.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists