ljharb/qs

RFC 3986 reserved characters missing

Open

#163 opened on May 10, 2016

 (5 comments) (0 reactions) (0 assignees)JavaScript (911 forks)batch import
bughelp wantedstringify

Repository metrics

Stars
 (8,943 stars)
PR merge metrics
 (PR metrics pending)

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