tracker issue : CF-3742083

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

CGI.PATH_INFO not null when default documents are served on IIS

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Immanuel Noel)

Created: 04/14/2014

Components: Installation/Config, Connector

Versions: 11.0

Failure Type:

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

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Mac 10 All,Win XP All

Vote Count: 1

Listed in the version Issues Fixed doc
CGI.PATH_INFO returns "/index.cfm" on requesting for http://localhost:8500/. The issue occurs on IIS only. 
The above scenario on Apache shows CGI.PATH_INFO as [empty string], or NULL which is the expected result. 

Configure Connector with IIS.
Create a CFM page that dumps CGI.PATH_INFO. 
Send a request to http://localhost:8500/. 

The returned value is '/index.cfm'

CGI.PATH_INFO must be NULL (Or an empty string).


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

Watson Bug ID:	3742083

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



Adobe, Can this please be fixed in CF11 Update 3? Thanks!, -Aaron
Comment by External U.
12658 | November 03, 2014 02:59:46 AM GMT
I thought the CGI scope was dependent upon the values that the web server returns. Does IIS return "/index.cfm" or is ColdFusion adding it? Will this impact any code on servers that use the URL pattern "/index.cfm/*" and parse CGI.PATH_INFO for parameters like "/index.cfm/id/abc"? (If you search Google, you'll see lots of examples of URLs that have this pattern. BlogCFC uses it too.) We've been using ColdFusion since 3.0. I believe CGI.PATH_INFO was changed once before because we added a workaround to compensate for version differences. (We set it to a global variable and use two IF statements to remove "/index.cfm".)
Comment by External U.
12659 | December 04, 2014 08:34:30 PM GMT
Hi Jamo, This will not impact any URL where the file name is specified (ex:*). It only fixes the IIS issue where script_name is copied into path_info when the default document is not specified (ex: Hi Immanuel, Thank you very much for filing this ticket and working on it. I very much look forward to using the fix. Thanks!, -Aaron
Comment by External U.
12660 | January 17, 2015 04:00:48 AM GMT
+1 ......................
Vote by External U.
12663 | January 17, 2015 04:01:18 AM GMT
The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
12661 | February 20, 2015 09:25:33 AM GMT
Verified this is fixed in CF11 Update 5 (build 11,0,05,293506). Thanks very much Immanuel!! -Aaron
Comment by External U.
12662 | November 19, 2015 04:37:33 AM GMT