rawhat / mist

gleam HTTP server. because it glistens on a web
Apache License 2.0
333 stars 12 forks source link

fix query parameters with question marks #21

Closed Johann150 closed 1 year ago

Johann150 commented 1 year ago

According to RFC 3986:

The query component is indicated by the first question mark ("?") character.

Therefore, following question marks should be disregarded when parsing the query string.

Previously, this would cause an exception because there was no fitting pattern. Fixed this and also added a test.

rawhat commented 1 year ago

Thank you!