1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Teufelchen1
df8fe4476d sys/uri_parser: Adding the port as uint16 2022-09-08 11:32:49 +02:00
Benjamin Valentin
b068d9245d uri_parser: constify result
`uri_parser_process()` takes a `const char *` as input parameter but
the result is a struct of `char *` to the original string.

This may lead a user to modifying the strings in `uri_parser_result_t`
which will cause a crash if the original string resides in read-only
memory (and violates the no-modifications promise of the const parameter
in `uri_parser_process()`).

To fix this, make the resulting strings `const` as well, so nobody dares
to touch them in a writing way.
2021-08-04 14:01:28 +02:00
Martine Lenders
af03ba4aa8
uri_parser: provide function to split query 2021-08-04 12:47:28 +02:00
Cenk Gündoğan
9eb6a38a5a
uri_parser: parse interface in IPv6 addresses 2020-11-11 22:47:30 +01:00
chrysn
7f67077338 uri_parser: Document that fragment identifiers are not handled 2020-04-03 14:32:55 +02:00
chrysn
6991f62338 uri_parser: Differentiate between URI and URI reference in documentation 2020-04-03 14:30:38 +02:00
Cenk Gündoğan
b9012fb5d9 uri_parser: add minimal and non-destructive URI parser 2020-03-31 23:54:40 +02:00