Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

MatrixParams do not work #5

Open
budjb opened this issue Mar 31, 2016 · 0 comments
Open

MatrixParams do not work #5

budjb opened this issue Mar 31, 2016 · 0 comments

Comments

@budjb
Copy link
Owner

budjb commented Mar 31, 2016

From @murphy-paul on September 17, 2013 3:23

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.

Copied from original issue: krasserm#29

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

No branches or pull requests

1 participant