Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Christopher Tierney / Christopher Tierney (Christopher Tierney)
Created: 09/10/2015
Components: Web Container (Tomcat)
Versions: 11.0
Failure Type: Data Corruption
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Critical / Some users will encounter
Locale/System: English / Linux All
Vote Count: 0
Problem Description:
when using expandPath() on Linux (including OSX) to go up a directory from the website's root it returns the the ColdFusion {instance}/bin directory (which is incorrect). Tested with both the directory non-existent and created. In Windows this works correctly.
Steps to Reproduce:
expandPath('/../myDir');
Actual Result:
returns /opt/coldfusion11/cfusion/bin
Expected Result:
on an example directory of "/data/websites/myWebsite"
returns "/data/websites/myDir"
Any Workarounds:
Find different way of finding website root or use Windows
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4053567
External Customer Info:
External Company:
External Customer Name: Christopher Tierney
External Customer Email:
External Test Config: My Hardware and Environment details:
tested on OSX and CentOS
Attachments:
Comments: