Skip to content

fix(cookies): preserve values containing equals - #962

Open
Mr-Neutr0n wants to merge 1 commit into
NanmiCoder:mainfrom
Mr-Neutr0n:fix/cookie-values-with-equals
Open

fix(cookies): preserve values containing equals#962
Mr-Neutr0n wants to merge 1 commit into
NanmiCoder:mainfrom
Mr-Neutr0n:fix/cookie-values-with-equals

Conversation

@Mr-Neutr0n

Copy link
Copy Markdown

Summary

  • split cookie pairs at the first = only
  • preserve base64/JWT-style cookie values with padding characters
  • add regression coverage alongside the existing cookie utility tests

Verification

  • uv run --no-project --with pytest --with pytest-asyncio --with httpx --with playwright --with pillow --with opencv-python-headless --with numpy pytest -q test/test_utils.py --disable-warnings
  • 5 passed
  • python3 -m py_compile tools/crawler_util.py test/test_utils.py

The repository preflight currently reports NOASSERTION for the upstream license; this PR is limited to the existing parser and tests.

Signed-off-by: Mr-Neutr0n <harikp2002@gmail.com>
@Mr-Neutr0n
Mr-Neutr0n requested a review from NanmiCoder as a code owner August 12, 2026 12:33
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant