Skip to content

Conversation

@velichkin
Copy link
Collaborator

No description provided.

velichkin pushed a commit that referenced this pull request Jun 3, 2024
…ct#39211)

* ♻️🐛 [Trusted Types] Make AmpWorker Trusted Types compatible (#6)

* fix regex to match subdomains properly

* fixing regex

* fixing hostname regex

* typo

* lint changes

* lint fix

* conditional fix

* testing string conversion before passing

* more permissive for testing

* update test regex with more urls

* fixing hostname

* adding one more url to test allowlist

* removing restrictions on testing due to dynamic url

* mjs file extensions

* replace slice with endsWith for readability
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