hirotakaster / CoAP-simple-library

Other
111 stars 48 forks source link

URL Query not parsed correctly #37

Closed MarianKellerHTWG closed 5 months ago

MarianKellerHTWG commented 1 year ago

A URL with an added query, for example : "ps/sensors/?clientid=test1&retain=true" is parsed incorrectly. The library doesn't detect that the path ends before the question mark, and that the following tokens should be parsed as a UriQuery.

YelloooBlue commented 5 months ago

+1

YelloooBlue commented 5 months ago

I have fixed this issue, you can view my fork, I have submitted PR

hirotakaster commented 5 months ago

@YelloooBlue Thanks for your PR. Now I merge and will release new tag(for update to arduino library).