-
Notifications
You must be signed in to change notification settings - Fork 40
Open
requestly/requestly-proxy
#39Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- Using the latest version of Requestly
Expected Behavior
When I am creating a 'Redirect Request' or 'Replace String' HTTP Rule in the Desktop App it should forward/redirect to the changed endpoint URL. All original header keys and values should be passed.
Current Behavior
All original header keys and values are being passed, except the 'Authorization' header. The 'Authorization' header vanished.
Steps to Reproduce
- Open the Requestly Desktop-app.
- Create Redirect Rule (or a Replace String rule) to forward the request to another endpoint (staging api for example)
- Use any http request with an 'Authorization' header.
- The 'Authorization' header has vanished.
Possible Solution (Not obligatory)
This was also an issue on the Chrome plugin:
requestly/requestly#1208
I noticed that this (requestly/requestly#1208 (comment)) workaround fixed my issue as well for the Desktop Application !
Context
I tested this by sending requests to an PHP file with the following code to see all headers:
$headers = getallheaders(); var_dump($headers);
- 'Replay request' with the Authorization header:
You can see the Authorization header vanished
- 'Replay request' with the Authorization header + Authorization2 header:
You can see the Authorization header vanished, but the Authorization2 header did not.
- 'Replay request' with the Authorization header and this (Error 401 - Authorization header is not passed in the redirected url after upgrading Chrome to version 119 requestly#1208 (comment)) workaround applied:
Your Environment
- Operating System and version : Windows 11 23H2
nsrCodes
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working