99% of the time, the following works without problem to redirect to another
page while keeping track of all the URL variables being passed:
Let's say my query string is this: a=1&b=2&c=3&d=4&e=5
<script>
location.href = 'someURL.cfm?#cgi.query_string#';
</script>
However, on rare occassions, all the the amersands are getting stripped from
the cgi.query_string when it reaches the href destination.
So, instead of directing to 'someURL.cfm?a=1&b=2&c=3&d=4&e=5'
It is directing to: someURL.cfm?a=1b=2c=3d=4e=5
What is happening to the ampersands? They are getting dropped for no reason
that I can see.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326485
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4