ljharb/qs

RFC 3986 reserved characters missing

Open

#163 建立於 2016年5月10日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)JavaScript (8,015 star) (744 fork)batch import
bughelp wantedstringify

描述

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?

貢獻者指南