Mikhus/domurl

query parameter with @ symbol not parsing correctly.

Open

#41 创建于 2019年4月1日

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

描述

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"

贡献者指南