ljharb/qs

RFC 3986 reserved characters missing

Open

#163 opened on 2016年5月10日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)JavaScript (744 forks)batch import
bughelp wantedstringify

Repository metrics

Stars
 (8,015 stars)
PR merge metrics
 (平均マージ 6d 22h) (30d で 2 merged PRs)

説明

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?

コントリビューターガイド