How can I turn off url case sensitivity for Portal Web Template Apps?

3849
2
09-25-2017 01:22 PM
SimonFisher
Occasional Contributor II

When creating a Web App, the urls are always case sensitive and there always seems to be a few upper case letters.  Is there a way to turn this off or deal with it some other way?

Thanks
Simon

0 Kudos
2 Replies
SimonFisher
Occasional Contributor II

Or is this impossible?  can anyone from ESRI confirm if this is doable?

0 Kudos
JonathanQuinn
Esri Notable Contributor

Unfortunately, you can't, as the underlying web server requires case sensitivity.  There are a few good resources as to why case sensitivity is important:

How to config Tomcat for case insensitive URL? - Stack Overflow 

HTML and URLs 

URLs in general are case-sensitive (with the exception of machine names). There may be URLs, or parts of URLs, where case doesn't matter, but identifying these may not be easy. Users should always consider that URLs are case-sensitive.

Apache Tomcat Configuration Reference (6.0.53) - The Context Container 

caseSensitive

Deprecated. This option is removed in Tomcat 7 onwards where the default of true is always used.

If the value of this flag is false, all case sensitivity checks will be disabled. If not specified, the default value of the flag is true.

NOTE: This flag MUST NOT be set to false on the Windows platform (or any other OS which does not have a case sensitive filesystem), as it will disable case sensitivity checks, allowing JSP source code disclosure, among other security problems.