Re: Sending and = over a URL
Thank you! :) On Sun, Mar 15, 2015 at 1:06 AM, Andrew Scott andr...@andyscott.id.au wrote: Try URLEncode and URLDecode Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Sun, Mar 15, 2015 at 6:37 PM, Phillip Vector vec...@mostdeadlygame.com wrote: If it helps... cfoutput cfset ServerPassword = 'Test123' cfset Text = ReplaceNoCase(cgi.query_string, 'fuseaction=IncomingMessage.DefaultMessage=', '') #Text#P cfset Text = Decrypt(text,'#ServerPassword#') #Text#P cfif find('IncomingMessage.DefaultMessage=',Text) PassedP cfset FinalURL = ReplaceNoCase(Text, 'fuseaction=IncomingMessage.Default', '') HR #FInalURL#cfabort cfloop list=#FinalURL# delimiters= index=i cfloop list=#i# delimiters== index=x cfset i = x /cfloop /cfloop #Message# - #Name# - #x# - #y# HR cfelse Failure. Get a job hippie. cfabort /cfif /cfoutput It bombs out at the decryption line. Is there something obvious I'm missing here? I get a java.lang.ArrayIndexOutOfBoundsException error. The first text line has the URL code I am passing in to decrypt and I managed to work around the = and issue (unless that is what is causing the issue). Can someone help a brotha out? :) On Sun, Mar 15, 2015 at 12:21 AM, Phillip Vector vec...@mostdeadlygame.com wrote: I have a program that sends me info via a URL. I'd like to encrypt it, but when I do, I get 's and ='s in the string. Is there some way I can still send the whole string with those characters in it through a base URL string or is there an encryption method that doesn't use those special characters? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360262 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Sending and = over a URL
If it helps... cfoutput cfset ServerPassword = 'Test123' cfset Text = ReplaceNoCase(cgi.query_string, 'fuseaction=IncomingMessage.DefaultMessage=', '') #Text#P cfset Text = Decrypt(text,'#ServerPassword#') #Text#P cfif find('IncomingMessage.DefaultMessage=',Text) PassedP cfset FinalURL = ReplaceNoCase(Text, 'fuseaction=IncomingMessage.Default', '') HR #FInalURL#cfabort cfloop list=#FinalURL# delimiters= index=i cfloop list=#i# delimiters== index=x cfset i = x /cfloop /cfloop #Message# - #Name# - #x# - #y# HR cfelse Failure. Get a job hippie. cfabort /cfif /cfoutput It bombs out at the decryption line. Is there something obvious I'm missing here? I get a java.lang.ArrayIndexOutOfBoundsException error. The first text line has the URL code I am passing in to decrypt and I managed to work around the = and issue (unless that is what is causing the issue). Can someone help a brotha out? :) On Sun, Mar 15, 2015 at 12:21 AM, Phillip Vector vec...@mostdeadlygame.com wrote: I have a program that sends me info via a URL. I'd like to encrypt it, but when I do, I get 's and ='s in the string. Is there some way I can still send the whole string with those characters in it through a base URL string or is there an encryption method that doesn't use those special characters? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360260 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Sending and = over a URL
Try URLEncode and URLDecode Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Sun, Mar 15, 2015 at 6:37 PM, Phillip Vector vec...@mostdeadlygame.com wrote: If it helps... cfoutput cfset ServerPassword = 'Test123' cfset Text = ReplaceNoCase(cgi.query_string, 'fuseaction=IncomingMessage.DefaultMessage=', '') #Text#P cfset Text = Decrypt(text,'#ServerPassword#') #Text#P cfif find('IncomingMessage.DefaultMessage=',Text) PassedP cfset FinalURL = ReplaceNoCase(Text, 'fuseaction=IncomingMessage.Default', '') HR #FInalURL#cfabort cfloop list=#FinalURL# delimiters= index=i cfloop list=#i# delimiters== index=x cfset i = x /cfloop /cfloop #Message# - #Name# - #x# - #y# HR cfelse Failure. Get a job hippie. cfabort /cfif /cfoutput It bombs out at the decryption line. Is there something obvious I'm missing here? I get a java.lang.ArrayIndexOutOfBoundsException error. The first text line has the URL code I am passing in to decrypt and I managed to work around the = and issue (unless that is what is causing the issue). Can someone help a brotha out? :) On Sun, Mar 15, 2015 at 12:21 AM, Phillip Vector vec...@mostdeadlygame.com wrote: I have a program that sends me info via a URL. I'd like to encrypt it, but when I do, I get 's and ='s in the string. Is there some way I can still send the whole string with those characters in it through a base URL string or is there an encryption method that doesn't use those special characters? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360261 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm