You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the title httpuv produces QUERY_STRING values containing the leading question mark of the form ?foo=bar where it should be foo=bar.
According to the documentation httpuv follows the Rook specification which states that "QUERY_STRING: The portion of the request URL that follows the ?, if any. [...]" [1]
Rook itself is modeled after CGI which also states that the question mark is not part of the query string and provides the following BNF syntax [2]:
I think you are correct that the QUERY_STRING should not contain the leading ?.
We'll have to investigate whether changing the behavior will cause problems for code that uses httpuv. I believe that shiny and plumber should be OK because they remove a leading ? only if it's present.
As per the title httpuv produces
QUERY_STRING
values containing the leading question mark of the form?foo=bar
where it should befoo=bar
.According to the documentation httpuv follows the Rook specification which states that "QUERY_STRING: The portion of the request URL that follows the ?, if any. [...]" [1]
Rook itself is modeled after CGI which also states that the question mark is not part of the query string and provides the following BNF syntax [2]:
The current behavior of httpuv is surprising and not consistent with established standards.
[1] https://github.com/jeffreyhorner/Rook
[2] https://tools.ietf.org/html/rfc3875#section-3.3
The text was updated successfully, but these errors were encountered: