]
Stuart Douglas resolved WFLY-3744.
----------------------------------
Fix Version/s: 9.0.0.Alpha1
Resolution: Done
ServletContext.getContextPath() for ROOT.war should be "",
not "/"
------------------------------------------------------------------
Key: WFLY-3744
URL:
https://issues.jboss.org/browse/WFLY-3744
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Reporter: Sean Flanigan
Assignee: Stuart Douglas
Fix For: 9.0.0.Alpha1
Attachments: ROOT.war
According to JavaDocs (ServletContext.getContextPath and
HttpServletRequest.getContextPath): "For servlets in the default (root) context, this
method returns "". "
Using latest 9.0.0.Alpha1-SNAPSHOT nightly build from
https://ci.jboss.org/hudson/job/WildFly-latest-master/1334/ the value is returned in both
cases as "/" rather than "" (empty string).