libyuarel icon indicating copy to clipboard operation
libyuarel copied to clipboard

Simple C library for parsing URLs with zero-copy and no mallocs.

Results 6 libyuarel issues
Sort by recently updated
recently updated
newest added

Nitpicking ;) The README.md ("How to use it") is missing the definition of `params`: ```c struct yuarel_param params[3]; ``` otherwise it won't compile.

Hi, thanks for sharing your code! I'm dumping a one-off parser I wrote myself in another project for yours. One issue I found is it seems the code that parses...

An absolute path without host should be a valid url. Unfortunately yuerel_parse() fails in this case.

Hi, This is not really a problem for my case, but I'm reporting it just FYI. ``` http://[2001:4860:0:2001::68]/foo/bar?a=123 Struct values: scheme: http host: [2001 port: 574336293 path: foo/bar query: a=123...

Hello, I found an error when 1 struct yuarel_param is passed to the yuarel_parse_query() function. They are not working properly. ``` char* query = "a=b&c=d"; yuarel_param params; yuarel_parse_query(query, '&', &params,...