url.h icon indicating copy to clipboard operation
url.h copied to clipboard

Parse URLs in C much like Node's url module.

Results 6 url.h issues
Sort by recently updated
recently updated
newest added

I have read the code,and find that there are many memory leak in it. Such As some code in url_parse : ``` char *search = malloc(sizeof(search)); if (!search) return NULL;...

[ pretend i wrote a useful, very verbose description here ] **foo.c** ``` c #include #include "url.h" int main() { char *url = "https://github.com/jwerle/url.h"; printf("url: '%s'\n", url); char *repo =...

I've implemented my ideas für #11 in a separate branch in my forked repo. Please consider this merge request as "request for comments" on my changes: * only one "owning"...

enhancement

At the moment ownership aspects are completely undocumented, so I looked into the code: * `url->href` is a non-owning a shallow copy of the parameter given to `url_parse()` and not...

question