mitre / mitre/HTTP-Proxy-Servlet

Doesn't copy cookies that contain the equals char (=) in the cookie value

Open
#56 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
1.5k
Forks
557
PR merge metrics
No merged PRs in 30d

Description

Maybe split on the first equal sign or cookie.split("=",2) to guarantee pair

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the cookie parsing or copying entry point in the Java servlet and reproduce the issue with a cookie value containing an equals sign. Check the existing cookie-related tests, if present, and verify that the complete value is preserved while the cookie name and value remain separated at the first equals sign.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.