mitre / mitre/HTTP-Proxy-Servlet
Error 500: java.lang.IllegalArgumentException: Illegal cookie attribute with IBM JDK
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 557
- PR merge metrics
- No merged PRs in 30d
Description
There is an Error 500: java.lang.IllegalArgumentException: Illegal cookie attribute issue thrown with WebSphere 7 (IBM JDK 6
SRVE0293E: [Servlet Error]-[testProxy]: java.lang.IllegalArgumentException: Illegal cookie attribute
at java.net.HttpCookie.assignAttribute(HttpCookie.java:1013)
at java.net.HttpCookie.parseInternal(HttpCookie.java:921)
at java.net.HttpCookie.parse(HttpCookie.java:182)
at org.mitre.dsmiley.httpproxy.ProxyServlet.copyProxyCookie(ProxyServlet.java:537)
at org.mitre.dsmiley.httpproxy.ProxyServlet.copyResponseHeader(ProxyServlet.java:515)
at org.mitre.dsmiley.httpproxy.ProxyServlet.copyResponseHeaders(ProxyServlet.java:500)
at org.mitre.dsmiley.httpproxy.ProxyServlet.service(ProxyServlet.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831))
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in ProxyServlet.java at copyProxyCookie, then trace copyResponseHeader and copyResponseHeaders around the IBM JDK stack trace. Reproduce the Illegal cookie attribute failure on WebSphere 7 with IBM JDK 6 and identify the affected response-cookie handling. Done means the request no longer returns HTTP 500 in that environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100