fastify / fastify/fast-uri

bug: Breaks encoded URI's with non-latin characters in browser

Open
#157 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
125
Forks
70
Avg merge
2d 19h
Merged PRs (30d)
4

Description

```js
console.log(resolveURI('http://host', encodeURIComponent('ыы'));
```

Prints `http://host/��`. This is because path is decoded with `unescape` function which does not support unicode directly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.