Skip to content

Commit

Permalink
Add note to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 23, 2021
1 parent 2456033 commit 44cfbcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Useful when you need to display, store, deduplicate, sort, compare, etc, URLs.

**Note:** This package does **not** do URL sanitization. [Garbage in, garbage out.](https://en.wikipedia.org/wiki/Garbage_in,_garbage_out) If you use this in a server context and accept URLs as user input, it's up to you to protect against invalid URLs, [path traversal attacks](https://owasp.org/www-community/attacks/Path_Traversal), etc.

## Install

```
Expand Down

0 comments on commit 44cfbcf

Please sign in to comment.