Mikhus/domurl

query parameter with @ symbol not parsing correctly.

Open

#41 创建于 2019年4月1日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)JavaScript (100 fork)batch import
help wanted

仓库指标

Star
 (531 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Try this out:

var url = new Url("http://example.com/some/path?a=b&c=test@someAnchor");

url.toString()
>>>"http://example.com%2Fsome%2Fpath%3Fa%3Db%26c%3Dtest@example.com/some/path?a=b&c=test%40someAnchor"

贡献者指南