Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 05/27/2012
Components: Web Container (Tomcat)
Versions: 10.0
Failure Type: Usability Issue
Found In Build/Fixed In Build: Final / 282661
Priority/Frequency: Minor / Some users will encounter
Locale/System: English / Platforms All
Vote Count: 5
Related Bugs:
CF-3307421 - Similar to
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
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3199283
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: