[jboss-jira] [JBoss JIRA] (WFLY-2916) getSerlvetPath() truncates path at the first semicolon
Veggen Skrikk (JIRA)
issues at jboss.org
Sat Aug 8 20:07:03 EDT 2015
[ https://issues.jboss.org/browse/WFLY-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096739#comment-13096739 ]
Veggen Skrikk commented on WFLY-2916:
-------------------------------------
The problem here is not that parameters got omitted (as that is by the spec), but that *everything* after the *first* semicolon was truncated. This means significant (non-parameter) parts of the Servlet path get lost. In the example above, it would mean the _/multiple_ part of the URI is simply lost. This is clearly violating the spec.
> getSerlvetPath() truncates path at the first semicolon
> ------------------------------------------------------
>
> Key: WFLY-2916
> URL: https://issues.jboss.org/browse/WFLY-2916
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 8.0.0.Final
> Reporter: Rossen Stoyanchev
> Assignee: Stuart Douglas
>
> Given a URL path with path parameters (e.g. "/data/matrixvars;foo=bar1/multiple;foo=bar2"), depending on the Servlet mapping (e.g. with "/" the whole path after the context path is the servlet path), a call to getServletPath() is truncated after the first semicolon (e.g. "/data/matrixvars").
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list