tracker issue : CF-3863477

select a category, or use search below
(searches all categories and all time range)

[ANeff] Bug for: cfform vs form wrt default action at SES URL

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 12/06/2014

Components: CFForm

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final / CF11 Update5

Priority/Frequency: Major / Some users will encounter

Locale/System: ALL / Platforms All

Vote Count: 0

Listed in the version Issues Fixed doc
<form method="post"> self-posts correctly, even at an SES URL
<cfform> self-posts incorrectly at an SES URL


<form method="post"><input type="submit" name="submit"></form>
<cfform><cfinput type="submit" name="submit"></cfform>

1) go to
2) click 1st submit button
3) see address bar still says
4) repeat #1
5) click 2nd submit button
6) see address bar says (bug: CGI.PATH_INFO was omitted when generating the default form action)

Once fixed, cfform's action description, in the docs, should be updated to indicate CGI.PATH_INFO is also included in the default action.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3863477

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:



The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
9683 | February 20, 2015 09:23:20 AM GMT
I didn't have this problem UNTIL I upgraded to CF 11 Update 5. Any idea why??
Comment by External U.
9684 | April 30, 2015 12:10:01 AM GMT
Verified this is fixed in CF11 Update 5 (build 11,0,05,293506). Updated the action attribute's description in the docs (added CGI.SCRIPT_NAME and CGI.PATH_INFO) when method is post. Thanks!, -Aaron
Comment by External U.
9685 | August 27, 2015 02:02:35 AM GMT
Hi Aaron, I have that version (Version 11,0,05,293506) and it was only after the update that this problem started. I'm happy to show you examples. Cheers Tim
Comment by External U.
9686 | August 27, 2015 05:33:25 PM GMT
Hi Tim, Sure, if you could attach a .zip of an isolated repro - I'd be glad to try it on my end too. Thanks!, -Aaron
Comment by External U.
9687 | August 27, 2015 05:56:09 PM GMT
mate I just put a test up <!doctype html> <html> <head> <InvalidTag charset="utf-8"> <title>Test</title> </head> <body> <cfform name="TestForm"> <cfinput name="testText" type="text"> <cfinput name="submit" type="submit"> </cfform> </body> </html> Start: End: I can email you the page link if that helps
Comment by External U.
9688 | August 27, 2015 06:18:59 PM GMT
Hi Tim, Thanks for that repro. Hmm, I'm unable to repro it on my end. I placed index.cfm in website root, then start w/ and, after submitting, the URL is Could you try adding the following, and see what the output is at start and end? <cfoutput>#CGI.SCRIPT_NAME# | #CGI.PATH_INFO#</cfoutput> For me, it displays "/index.cfm | " at start and end. I'm testing on IIS. Are you also testing on IIS? Thanks!, -Aaron
Comment by External U.
9689 | August 27, 2015 07:18:50 PM GMT
Hi, no I get /workshop/cfform/index.cfm | /workshop/cfform/index.cfm and yes I'm on IIS too
Comment by External U.
9690 | August 27, 2015 08:21:26 PM GMT
Hi Tim, Aha, okay. Reconfiguring the IIS connector via wsconfig.exe should resolve the issue. What's happening is CGI.PATH_INFO should be null when browsing directly (i.e. w/o submitting the form) to both and However, #CF-3742083 (which Adobe filed on my behalf) is for the issue where the IIS connector incorrectly copies CGI.SCRIPT_NAME into CGI.PATH_INFO when the default doc index.cfm is omitted from the URL (i.e. browsing directly to That bug was also fixed in CF11 Update 5, but you wouldn't see the fix unless the IIS connector was reconfigured after installing Update 5. It's that bug that's causing CF to still populate the cfform action incorrectly, which is then why the form is posting to the wrong URL. Could you try reconfiguring the IIS connector via wsconfig.exe and retry? Thanks!, -Aaron
Comment by External U.
9691 | August 27, 2015 09:42:32 PM GMT