Cargo

path for the default web application (empty context) must be equal to a zero-length string not "/"

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.9
  • Fix Version/s: 1.0.1-beta-2, 1.0.1-beta-3, 1.0.1
  • Component/s: Tomcat
  • Labels:
    None
  • Environment:
    any
  • Complexity:
    Intermediate
  • Tested on JDKs:
    1.5.0_06
  • Number of attachments :
    1

Description

createContextToken in AbstractCatalinaStandaloneLocalConfiguration prepends "/" to any contextpath. This should not happen for the default web application according to http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

I attached a small patch. Not sure if this is the right way and/or place to fix this, but it works for me

Issue Links

Activity

Hide
Savas Ali Tokmen added a comment -

Committed revision 2069.

Show
Savas Ali Tokmen added a comment - Committed revision 2069.

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: