ljharb/qs

RFC 3986 reserved characters missing

Open

#163 创建于 2016年5月10日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)JavaScript (744 fork)batch import
bughelp wantedstringify

仓库指标

Star
 (8,015 star)
PR 合并指标
 (平均合并 6天 22小时) (30 天内合并 2 个 PR)

描述

stringify is supposed to be implementing RFC 3986 but RFC 3986 specifies reserved characters as:

reserved    = gen-delims / sub-delims
gen-delims  = ":" / "/" / "?" / "#" / "[" / "]" / "@"
sub-delims  = "!" / "$" / "&" / "'" / "(" / ")"
                  / "*" / "+" / "," / ";" / "="

However $ (as pointed out in request#2129) will be encoded as %24. I guess this is a bug?

贡献者指南