Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): danny armstrong / danny armstrong (danny armstrong)
Created: 07/22/2015
Components: General Server
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Linux
Vote Count: 0
Problem Description:
Accessing cfm or cfc contained in directory that is a symlink will result in unexpected paths in CGI.CF_TEMPLATE_PATH and CGI.PATH_TRANSLATED as well as unexpected results from #expandPath(CGI.script_name)#. CF 9 does not exhibit the issue.
Steps to Reproduce:
on Ubuntu 12.04 or 14.04 (or I expect any Linux, but haven't tried):
download attached tar.gz file
extract in webroot
expect folder structure as:
/my/webroot/symlink_issue/
__ real_test_folder/
____ test_file.cfm
symlink real_test_folder to symlinked_test_folder with commands:
> cd symlink_issue
> ln -s real_test_folder symlinked_test_folder
in browser hit url http://localhost/symlink_issue/symlinked_test_folder/test_file.cfm
observe cfdump of CGI scope
Actual Result:
cgi.cf_template_path variable equal to "/my/webroot/symlink_issue/real_test_folder/test_file.cfm"
Expected Result:
cgi.cf_template_path variable equal to "/my/webroot/symlink_issue/symlinked_test_folder/test_file.cfm"; the same behavior as ColdFusion 9
Any Workarounds:
none known
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4024546
External Customer Info:
External Company:
External Customer Name: danny
External Customer Email:
External Test Config: My Hardware and Environment details:
InstallKit Native UNIX
appserver Tomcat
expiration {ts '2015-07-18 22:44:53'}
productlevel Standard
productname ColdFusion Server
productversion 11,0,05,293506
rootdir /opt/coldfusion11/cfusion
serviceTagAttributes
supportedlocales
updatelevel 05
additionalinformation Linux
arch amd64
buildnumber [empty string]
name UNIX
version 3.13.0-55-generic
Attachments:
- July 23, 2015 00:00:00: 1_symlink_test.zip
Comments: