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

fix(acl): inconsistencies on urlpattern usage for remote domain URL #9133

Merged
merged 4 commits into from
Mar 11, 2024

Conversation

lucasfernog
Copy link
Member

Changes the remote domain URL parsing to match the behaivor of the JavaScript implementation of URLPattern.
A pattern like http://localhost should automatically allow any subpath, query params and hash.
To define a custom query param match rule, you must escape the ? character e.g. http://localhost/path\\?q=*&x=*

@lucasfernog lucasfernog requested a review from a team as a code owner March 9, 2024 12:49
amrbashir
amrbashir previously approved these changes Mar 11, 2024
@lucasfernog lucasfernog merged commit e673854 into dev Mar 11, 2024
29 checks passed
@lucasfernog lucasfernog deleted the fix/remote-domain-urlpattern branch March 11, 2024 16:39
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

Successfully merging this pull request may close these issues.

2 participants