Skip to content

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

Merged
lucasfernog merged 4 commits intodevfrom
fix/remote-domain-urlpattern
Mar 11, 2024
Merged

fix(acl): inconsistencies on urlpattern usage for remote domain URL#9133
lucasfernog merged 4 commits intodevfrom
fix/remote-domain-urlpattern

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 force-pushed the fix/remote-domain-urlpattern branch from 6176918 to 7b72b60 Compare March 11, 2024 16:11
@lucasfernog lucasfernog merged commit e673854 into dev Mar 11, 2024
@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