Skip to content

docs: sanitize-url doesn't support import (esm) #3214

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

Open
sofuxro opened this issue Apr 5, 2025 · 0 comments
Open

docs: sanitize-url doesn't support import (esm) #3214

sofuxro opened this issue Apr 5, 2025 · 0 comments

Comments

@sofuxro
Copy link
Contributor

sofuxro commented Apr 5, 2025

Issue

In https://vuejs.org/guide/best-practices/security.html#url-injection there's a reference to sanitize-url which doesn't support import (esm)

Solution:

Create a fork and updated it to use import
https://www.npmjs.com/package/@sofuxro/sanitize-url

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