Project

General

Profile

Task #1131

Story #1129: Tomcat needs to be configured to handle \ in URIs

Need to figure out how to enable \ (%5C) in tomcat URIs

Added by Chad Berkley over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2010-12-02
Due date:
% Done:

100%

Milestone:
Product Version:
*
Story Points:
Sprint:

Description

If we decide that we indeed do want to enable \ in tomcat URIs, then we need to figure out how to get it to work. I tried using the parameters
* org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH: true|false
* org.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH: true|false
and I still couldn't get it to work with tomcat 6.0.26.

History

#1 Updated by Rob Nahf over 13 years ago

  • Status changed from New to Closed
  • Assignee set to Rob Nahf

The above parameters are Java system properties, so added them to the catalina.properties file to get them to take. (Did not retry placing them in server.xml file) Tests show the cn service returns the "no action" response that the other cases return. Adding the properties to the cn-buildout/dataone-cn-os-core/DEBIAN/postinst script.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)