Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: repository
Created: 21/Mar/14 2:01 PM
Description:

m_path = request.getContextPath() + request.getPathInfo();

getContextPath never return null (according to javadoc) and return "" for ROOT context. On tomcat, getPathInfo return null and getServletPath should be used (see https://mail-archives.apache.org/mod_mbox/tomcat-users/200103.mbox/%[email protected]%3E for explanation)

this result in "" + null = "null" (by Java spec, arguably stupid)
then trying to substract root path fails.

Environment: jenkins deployed on tomcat as ROOT context
Project: Jenkins
Priority: Blocker Blocker
Reporter: Nicolas De Loof
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to