playframework / playframework/play-ws
WS response interceptor does not support URI special characters(%2F)?
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 224
- Forks
- 92
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 28
Description
I looks like that the WS response interceptor does not support URI special characters
the issue step is as following
1. client send WS request
2. service response: 307 Temporary Redirect
3. org.asynchttpclient.netty.handler.intercept.Redirect30xInterceptor will start
it looks like that Redirect30xInterceptor can not handle the sepcial character(%2F) correct
4. server response: 400 Bad Request
My question is
- can the http intercept support the special character (%2F)?
- how to config or disable the WS response intercept?
Contributor guide
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 with org.asynchttpclient.netty.handler.intercept.Redirect30xInterceptor and reproduce the WebSocket redirect from the issue, including the %2F characters in the S3 location. Determine whether the interceptor preserves the URI or how response interception can be configured or disabled; done means the redirect no longer produces a 400 Bad Request or the requested configuration is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, scala
- Domain
- api, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100