8 Commits
Author SHA1 Message Date
W fb26a7ab91 fix(shell): stop dropping cookies whose values SimpleCookie rejects (#541)
* fix(shell): stop dropping cookies whose values SimpleCookie rejects

_CookieParser fed the cookie string to http.cookies.SimpleCookie, which
stops at the first value it considers illegal (a space, a double quote,
...) and silently discards that cookie and everything after it. Cookie
strings copied from DevTools contain such values regularly, so curl
commands parsed by uncurl/curl2fetcher and `extract --cookies` lost
cookies without any warning.

Split the string on ";" instead and keep each value as sent, including
surrounding quotes, which SimpleCookie used to strip. Set-Cookie
attribute names are still skipped, as before.

* fix(shell): keep request cookies named partitioned
2026-11-04 16:08:55 +02:00
Jay Hemnani ead76eadde fix(shell): accept curl's -L flag (#554) 2026-11-04 16:04:36 +02:00
Karim shoair acc03fcee5 test: update to the current changes 2026-10-31 16:50:39 +02:00
Suliman Abdulrazzaq bd90176c66 fix(shell): apply curl -A and pass -x proxies as a URL string (#490) 2026-10-16 01:10:40 +03:00
Suliman Abdulrazzaq 71f567e806 fix(cli): write md and txt extract output as UTF-8 (#488) 2026-10-16 00:48:47 +03:00
Karim shoair 335beb932a test: update tests accordingly 2026-10-08 23:28:12 +03:00
Karim shoair d49e047736 tests: change tests accordingly 2025-09-02 15:23:30 +03:00
Karim shoair 0e3358007f test: adding new tests and updating existing ones 2025-08-15 04:52:51 +03:00