ljharb/qs

RFC 3986 reserved characters missing

Open

#163 opened on May 10, 2016

View on GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (8,015 stars) (744 forks)batch import
bughelp wantedstringify

Description

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?

Contributor guide