Re: ;amp in my URL's?
Are you getting the cgi.USER_AGENT variable? It could be being caused by a search engine spider, however so do set the spider to appear as if it is a standard browser, so you could get the IP address as well and then do a whois on it. Andrew. - Original Message - From: Casey C Cook [EMAIL PROTECTED] Date: Mon, 20 Sep 2004 18:40:17 -0700 Subject: ;amp in my URL's? To: CF-Talk [EMAIL PROTECTED] Im trapping a few errors per day which means probably 1-1000 users (or more) is experiencing this problem, and not sure what could be causing it. Basically if I look at the cgi.query_string it shows fuseaction=DisplayNewsamp;ContextID=MSAamp;ID=4324amp;GBT=Main vs. what it should be fuseaction=DisplayNewsContextID=MSAID=4324GBT=Main What would be placing amp; in my URL strings? I simulated the exact steps as the user but did not throw an error message. We are both clicking the link from same version of lotus notes, launching the same version internet explorer external from lotus notes. Im almost sure this is some sort of setting in the broswer or on the computer, unrelated to the application itself. Any insight would be appreciated. Thanks, Casey Cook [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: ;amp in my URL's?
Is there by chance a cflocation to get you there? _ From: Casey C Cook [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 9:40 PM To: CF-Talk Subject: ;amp in my URL's? Im trapping a few errors per day which means probably 1-1000 users (or more) is experiencing this problem, and not sure what could be causing it. Basically if I look at the cgi.query_string it shows fuseaction=DisplayNewsamp;ContextID=MSAamp;ID=4324amp;GBT=Main vs. what it should be fuseaction=DisplayNewsContextID=MSAID=4324GBT=Main What would be placing amp; in my URL strings? I simulated the exact steps as the user but did not throw an error message. We are both clicking the link from same version of lotus notes, launching the same version internet explorer external from lotus notes. Im almost sure this is some sort of setting in the broswer or on the computer, unrelated to the application itself. Any insight would be appreciated. Thanks, Casey Cook _ [HYPERLINK http://www.houseoffusion.com/lists.cfm/link=t:4Todays Threads] [HYPERLINK http://www.houseoffusion.com/lists.cfm/link=i:4:179099This Message] [HYPERLINK http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] [HYPERLINK http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4Fast Unsubscribe] [HYPERLINK http://www.houseoffusion.com/signin/User Settings] [HYPERLINK https://www.paypal.com/cgi-bin/webscr?amount=item_name=House+of+Fusionbus iness=donations%40houseoffusion.comundefined_quantity=cmd=_xclickDonation s and Support] _ HYPERLINK http://www.houseoffusion.com/banners/view.cfm?bannerid=11 \n --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.759 / Virus Database: 508 - Release Date: 9/9/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.759 / Virus Database: 508 - Release Date: 9/9/2004 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: ;amp in my URL's?
This is a link clicked from lotus notes, the URL string is the link itself in the email. (there is not a cflocation) Also, its not a spider, these are actual users I talked to on the phone and walked through all the steps to reproduce the error. They throw the error when clicking the link and I do not. There is something different about their browser settings or computer settings that places the ;amp in the URL string, Im not sure what it could be. Thanks, Casey Cook [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: ;amp in my URL's?
Im trapping a few errors per day which means probably 1-1000 users (or more) is experiencing this problem, and not sure what could be causing it. AAARGH!That foul beast dares rear its head again!?!!(read with pirate voice and one eye squinted shut) I had/have this exact same problem.The site I work on has two sides: one that I manage, using CF, and the other that someone else manages, using any number of technologies, including Lotus Notes.The sign-in/registration system that I designed runs over the entire site, so the two sides have to play nice together.Because the other side doesn't use CF, I had to do some trickery.This trickery involves (among other things) _javascript_ code that sits on that other side, and which bounces users who aren't signed in over to my side.Of course, in doing this, I want to be sure that I can route users to their desired location after the sign-in.To do this, I place their desired URL into a URL variable.Here's where things fall apart.I can't remember exactly which part causes the error, but the idea is that some bit of it all (the browser, the _javascript_ code, something) converts those nice characters to their HTML equivalents (amp;) and all hell breaks loose.As I remember it, the problem was even more complicated in that even if I got it through the first step, it might get fouled up at the second step (when I send the user back). Bottom line (ugly bottom line): my solution was to stop trusting the various bits that were converting the ampersand character into its equivalent and back.At the very start of the process, I replace all ampersands with the lovely string QQQampQQQ.At the very end of the process, I reverse the process, replacing QQQampQQQ with ampersands, and redirect to that address. I readily admit that there must be a better way.That said, I caution you against spending too much time finding it.As I remember it, the reason I went this way was that--while I could get it to work in one scenario--the various possible cases got rapidly complicated, and it was much easier to convert the string immediately into something that would be preserved regardless of which automatic conversion it was going through. All that said, can I help you at all?I would make sure I know the process from end to end: where does the URL begin its life as a variable, and where does it end that life.If you can't figure out an easy way to fix it, do the ugly trick above. HTH, Matthieu [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: ;amp in my URL's?
--- AAARGH!That foul beast dares rear its head again!?!!(read with pirate voice and one eye squinted shut) I had/have this exact same problem.The site I work on has two sides: one that I manage, using CF, and the other that someone else manages, using any number of technologies, including Lotus Notes.The sign-in/registration system that I designed runs over the entire site, so the two sides have to play nice together.Because the other side doesn't use CF, I had to do some trickery.This trickery involves (among other things) _javascript_ code that sits on that other side, and which bounces users who aren't signed in over to my side.Of course, in doing this, I want to be sure that I can route users to their desired location after the sign-in.To do this, I place their desired URL into a URL variable.Here's where things fall apart.I can't remember exactly which part causes the error, but the idea is that some bit of it all (the browser, the _javascript_ code, something) converts those nice characters to their HTML equivalents (amp;) and all hell breaks loose.As I remember it, the problem was even more complicated in that even if I got it through the first step, it might get fouled up at the second step (when I send the user back). Bottom line (ugly bottom line): my solution was to stop trusting the various bits that were converting the ampersand character into its equivalent and back.At the very start of the process, I replace all ampersands with the lovely string QQQampQQQ.At the very end of the process, I reverse the process, replacing QQQampQQQ with ampersands, and redirect to that address. I readily admit that there must be a better way.That said, I caution you against spending too much time finding it.As I remember it, the reason I went this way was that--while I could get it to work in one scenario--the various possible cases got rapidly complicated, and it was much easier to convert the string immediately into something that would be preserved regardless of which automatic conversion it was going through. All that said, can I help you at all?I would make sure I know the process from end to end: where does the URL begin its life as a variable, and where does it end that life.If you can't figure out an easy way to fix it, do the ugly trick above. HTH, Matthieu -- Thanks for the responses, we are still looking into the issue. So far we have potentially found a workaround with the code below. In the event I cant find the exact cause the work around should work, I guess I will find out soon enough. Hopefully the error reports disappear when I come in tomorrow morning. I still have some users to talk to tomorrow, hopefully our discussions narrow the search. cfif isdefined(URL) cfloop index=urlField list=#structKeyList(url)# cfif left(urlField,4) is amp; cfset url[getToken(urlField,2,;)] = url[urlField] /cfif /cfloop /cfif Thanks, CC x56927 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: ;amp in my URL's?
If you are using FB4, then chances are that these are coming from relocates in the circuit.xml.amp; is actually the way that they should be written both in FB's circuit files and in HTML. Ampersands ('s) in URLs Another common error occurs when including a URL which contains an ampersand (): !-- This is invalid! -- a href=""> This example generates an error for unknown entity section because the is assumed to begin an entity http://www.htmlhelp.com/reference/html40/entities/ . In many cases, browsers will recover safely from the error, but the example used here will cause the link to fail in Netscape 3.x (but not other versions of Netscape) since it will assume that the author intended to write sect;ion, which is equivalent to §ion. To avoid problems with both validators and browsers, always use amp; in place of : a href=""> Sandy Clark http://www.shayna.com http://www.shayna.com/ CF Pretty Accessible at http://www.shayna.com/blog Now offering 4 days Hands on CSS training October 11-14th. Rockville, MD. For more information go to: http://www.teratech.com/training/oc_classes.cfm#css _ From: Casey C Cook [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 9:40 PM To: CF-Talk Subject: ;amp in my URL's? Im trapping a few errors per day which means probably 1-1000 users (or more) is experiencing this problem, and not sure what could be causing it. Basically if I look at the cgi.query_string it shows fuseaction=DisplayNewsamp;ContextID=MSAamp;ID=4324amp;GBT=Main vs. what it should be fuseaction=DisplayNewsContextID=MSAID=4324GBT=Main What would be placing amp; in my URL strings? I simulated the exact steps as the user but did not throw an error message. We are both clicking the link from same version of lotus notes, launching the same version internet explorer external from lotus notes. Im almost sure this is some sort of setting in the broswer or on the computer, unrelated to the application itself. Any insight would be appreciated. Thanks, Casey Cook _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
;amp in my URL's?
Im trapping a few errors per day which means probably 1-1000 users (or more) is experiencing this problem, and not sure what could be causing it. Basically if I look at the cgi.query_string it shows fuseaction=DisplayNewsamp;ContextID=MSAamp;ID=4324amp;GBT=Main vs. what it should be fuseaction=DisplayNewsContextID=MSAID=4324GBT=Main What would be placing amp; in my URL strings? I simulated the exact steps as the user but did not throw an error message. We are both clicking the link from same version of lotus notes, launching the same version internet explorer external from lotus notes. Im almost sure this is some sort of setting in the broswer or on the computer, unrelated to the application itself. Any insight would be appreciated. Thanks, Casey Cook [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]