]|V|[agnus
08-11-2005, 05:37 PM
I am having some funkiness.
I have a ColdFusion function that returns the name of the current master template and the query string if one is present, all for the purpose of easily supplying a self-reference to forms regardless of their environment.
Well, Safari seems to be appending stuff I didn't ask it to append to my query strings.
Say I have a form with this action:
admin.cfm?action=software&option=update&software=8
When I submit the form, it posts back to itself but with the 'action' param value appended with the question mark at the end.
admin.cfm?action=software&option=update&software=8?action=software
So then, another function expecting a numeric value from #url.software# (url is how to reference the 'GET' scope in CF) chokes and dies when it receives '8?action=software' instead of '8'
Is there some fundamental behavior of Safari that I should be aware of? This does not happen in other browsers. It's not a coding issue. I check the action of the form before I post it, and the source is correct.
I have a ColdFusion function that returns the name of the current master template and the query string if one is present, all for the purpose of easily supplying a self-reference to forms regardless of their environment.
Well, Safari seems to be appending stuff I didn't ask it to append to my query strings.
Say I have a form with this action:
admin.cfm?action=software&option=update&software=8
When I submit the form, it posts back to itself but with the 'action' param value appended with the question mark at the end.
admin.cfm?action=software&option=update&software=8?action=software
So then, another function expecting a numeric value from #url.software# (url is how to reference the 'GET' scope in CF) chokes and dies when it receives '8?action=software' instead of '8'
Is there some fundamental behavior of Safari that I should be aware of? This does not happen in other browsers. It's not a coding issue. I check the action of the form before I post it, and the source is correct.