tracker issue : CF-3209090

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

cgi.path_info missing

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Holger Lockertsen / Holger Lockertsen (Holger L)

Created: 06/08/2012

Components: Web Container (Tomcat)

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win 2008 Server R2

Vote Count: 3

Problem Description:
cgi.path_info which many of us use in applications do not get passed to Coldfusion using Win 2008 server / Coldfusion 10
Steps to Reproduce:
Call any page and check for cgi.path_info variable. 
Actual Result:
Empty value
Expected Result:
value
Any Workarounds:
None found so far.

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

Watson Bug ID:	3209090

External Customer Info:
External Company:  
External Customer Name: Holger L
External Customer Email:  
External Test Config: My Hardware and Environment details:

New DELL server.

Attachments:

Comments:

Problem described here as well: http://www.giancarlogomez.com/2012/06/you-are-not-going-crazy-cgipathinfo-is.html
Comment by External U.
19052 | June 08, 2012 03:04:28 AM GMT
As per the Servlet spec, CGI.PATH_INFO should be empty for a request URL like http://myserver/index.cfm In case your URL is like http://myserver/index.cfm/hello, you will get the CGI.PATH_INFO as “/hello” JRun which was the underlying server for CF 9 and earlier was actually giving a wrong value for PATH_INFO and that is why you see this change in behavior. http://docs.oracle.com/javaee/1.2.1/api/javax/servlet/http/HttpServletRequest.html#getPathInfo()
Comment by Rupesh K.
19053 | June 08, 2012 03:28:55 AM GMT
I noticed that with http://myserver/test/index.cfm with Coldfusion 10 the CGI.PATH_INFO returns nothing. In Coldfusion 9 it returns /test. At the very least this is a backwards compatibility issue. My system is Windows server 2008 R2 64bit running IIS 7.5.
Comment by External U.
19054 | July 18, 2012 12:39:21 PM GMT
I noticed that with http://myserver/test/index.cfm with Coldfusion 10 the CGI.PATH_INFO returns nothing. In Coldfusion 9 it returns /test. At the very least this is a backwards compatibility issue, but I would think it should return /test. My system is Windows server 2008 R2 64bit running IIS 7.5.
Vote by External U.
19056 | July 18, 2012 12:40:14 PM GMT
I have the same problem, it is preventing me from upgrading my servers to CF10. I use Mura, which relies on the PATH_INFO for friendly URLs.
Vote by External U.
19057 | July 19, 2012 09:01:13 AM GMT
Same issue when trying to use IIS7 and url rewrite with CFWheels.
Vote by External U.
19058 | July 20, 2012 09:36:58 AM GMT
There IS a change in behaviour as shown below. But, that is rather a bug fix. The current behaviour is as per the servlet specification. Also, it is the same behaviour even in CF 9 with inbuilt web server (jRun) or any other J2EE server. This bug was with IIS/Apache connector in CF 9 or earlier and that has been fixed in CF 10. URL http://ip:port/bugs/index.cfm CF9 standalone : Empty string CF9 IIS : /bugs/index.cfm CF10 standalone : Empty String CF10 IIS : Empty String Tomcat null http://ip:port/bugs/index.cfm/hello CF9 standalone : /hello CF9 IIS : /hello CF10 standalone : /hello CF10 IIS : /hello Tomcat : /hello Closing this since it is not a bug.
Comment by Rupesh K.
19055 | July 30, 2012 01:42:06 PM GMT