Add strict flag to url_parse

This commit is contained in:
2025-12-06 01:10:10 +01:00
parent 418903a512
commit 1d53c3d8ac
2 changed files with 53 additions and 2 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ typedef struct {
} URL;
int url_parse(char *src, int len, int *pcur, URL *out);
int url_parse(char *src, int len, int *pcur, bool strict, URL *out);
int url_parse_ipv4(char *src, int len, int *pcur, URL_IPv4 *out);
int url_parse_ipv6(char *src, int len, int *pcur, URL_IPv6 *out);