Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MatrixParams do not work #29

Closed
murphy-paul opened this issue Sep 17, 2013 · 1 comment
Closed

MatrixParams do not work #29

murphy-paul opened this issue Sep 17, 2013 · 1 comment

Comments

@murphy-paul
Copy link

It appears that the plugin is appending and '/' to the end of URLS when causes jersey to fail to when resolving the matrix params.

See MatrixParamInjectableProvider.getValue. This method will only look at the last Path segment. And an extra path segment is added because of the '/'

See UriComponent.decodePath at line 595.
e = path.indexOf('/', s) will cause the matrix params to be resolve in the do while loop. After the loop the if(s < path.length()) condition is false and an extra Empty Path segment is added.

Great plugin by the way.

@budjb
Copy link
Contributor

budjb commented Mar 31, 2016

This issue was moved to budjb#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants