Status/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): George Alsobrooks / George Alsobrooks (GEORGE ALSOBROOKS)
Created: 11/19/2013
Components: Installation/Config, Connector
Versions: 10.0
Failure Type: Usability Issue
Found In Build/Fixed In Build: Final /
Priority/Frequency: Minor / Some users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 0
Duplicate ID: CF-3199281
I don't see a way to report that a bug shouldn't be closed (Bug ID#3199283), so I'm creating a new one.
Problem Description:
As descripted in Bug ID#3199283
https://bugbase.adobe.com/index.cfm?event=selectBug&CFGRIDKEY=3199283
In CF10, file extensions are case-sensitive in all web servers (built-in, Apache, IIS, etc).
This causes a backward-compatibility issue for users that may type an address w/ CAPS LOCK on. This also affects the "/rest/" portion of CF10 Rest URLs.
The solution is simple: Just add uppercase servlet mappings to web.xml and uriworkermap.properties.
web.xml example:
<servlet-mapping>
<servlet-name>CfmServlet</servlet-name>
<url-pattern>*.CFM</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CfmServlet</servlet-name>
<url-pattern>*.CFML</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CFCServlet</servlet-name>
<url-pattern>*.CFC</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CfmServlet</servlet-name>
<url-pattern>*.CFM/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CfmServlet</servlet-name>
<url-pattern>*.CFML/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CFCServlet</servlet-name>
<url-pattern>*.CFC/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CFRestServlet</servlet-name>
<url-pattern>/REST/*</url-pattern>
</servlet-mapping>
uriworkermap.properties example:
/*.CFM = cfusion
/*.CFML = cfusion
/*.CFC = cfusion
/*.CFM/* = cfusion
/*.CFML/* = cfusion
/*.CFC/* = cfusion
/REST/* = cfusion
Steps to Reproduce: 1) Browse to www.somewebsite.com/somepage.CFM
Actual Result: Uppercase file extensions return a blank page, instead of returning the processed cfm page.
Expected Result: ColdFusion running with IIS should not have case-sensitive file extensions, and should return the processed cfm page.
Any Workarounds:
Follow instructions in
https://bugbase.adobe.com/index.cfm?event=selectBug&CFGRIDKEY=3199283
to update uriworkermap.properties file.
This workaround has to be reapplied everytime the connector is recreated.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3671526
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: ImpDust
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows 2008R2
IIS 7.5
CF10 Update 12
Attachments:
Comments: