mitre / mitre/HTTP-Proxy-Servlet
Proxy SOAP request, Headers not being forwarded
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 557
- PR merge metrics
- No merged PRs in 30d
Description
I have the proxy working with the exception of forwarding a SOAP request. A few headers are not being forwarded.
I am making my SOAP request via jquery.soap
$.soap({
url: webServiceURL,
type: 'POST',
SOAPAction: 'GET_'+method,
appendMethodToURL: false,
data: soapEnvelopeHeader + soapBodyHead + params + soapBodyFooter + soapEnvelopeFooter,
HTTPHeaders: {
Authorization: 'Basic ' + btoa('username:password')
},
...
});
The Authorization header and the SOAPAction headers are both being stripped.
I went through and logged the HeaderName as each header is being copied and they are getting stripped out before that point.
Any suggestions.
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 by tracing the proxy's header-copying path, using the reported logging point to determine where Authorization and SOAPAction are removed. The issue is done when both headers from the jquery.soap request reach the proxied SOAP request; no source file or test is named in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, jquery
- Domain
- api, backend, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100