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

Policy engine is not able to match URL resource with multiple question marks #44

Open
pavelhoral opened this issue Apr 9, 2019 · 1 comment

Comments

@pavelhoral
Copy link
Member

pavelhoral commented Apr 9, 2019

Based on gitter question:

URL based policy for *://*:*/*?* is not able to match queries containing question mark (e.g. http://example.com/foo?bar?baz), which are a valid URL.

I was able to debug policy evaluation up to SimpleReferenceTree#searchTree which is responsible for resource pattern matching. However as I am not that familiar with policy / privilege internals, I am not able to provide an easy solution or workaround (maybe such behaviour is expected?). This needs a little bit more attention than I am able to give right now.

@pavelhoral
Copy link
Member Author

Might have the same cause as https://bugster.forgerock.org/jira/browse/OPENAM-11673 .

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

1 participant