Skip to content

Commit

Permalink
Merge pull request #10 from 0xflotus/patch-1
Browse files Browse the repository at this point in the history
fix: small error
  • Loading branch information
azu authored Dec 17, 2022
2 parents 9ed5585 + 8caa829 commit 1f85139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const url = `https://example.com/user/${name}`;
console.log(url); // => "https://example.com/user/<user input>"
```

This code may have directory traversal vulnerbility.
This code may have directory traversal vulnerability.
You should escape the `name` by `encodeURIComponent`.

```js
Expand Down

0 comments on commit 1f85139

Please sign in to comment.