mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Fix bugs and make improvements
- Fix regression with `%lu` - Added some more headers witnessed in the wild - Added `-M INT` option to redbean to tune max payload size - Work around InfoZIP 256 character limit on comment line size
This commit is contained in:
parent
3aa8983ec1
commit
1966369e8e
17 changed files with 574 additions and 415 deletions
|
@ -269,9 +269,10 @@ static char *ParseUrlImpl(const char *data, size_t size, struct Url *h,
|
|||
* Parses URL.
|
||||
*
|
||||
* This parser is charset agnostic. Percent encoded bytes are decoded
|
||||
* for all fields. Returned values might contain things like NUL
|
||||
* characters, spaces, control codes, and non-canonical encodings.
|
||||
* Absent can be discerned from empty by checking if the pointer is set.
|
||||
* for all fields (with the exception of scheme). Returned values might
|
||||
* contain things like NUL characters, spaces, control codes, and
|
||||
* non-canonical encodings. Absent can be discerned from empty by
|
||||
* checking if the pointer is set.
|
||||
*
|
||||
* There's no failure condition for this routine. This is a permissive
|
||||
* parser. This doesn't normalize path segments like `.` or `..` so use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue