Is this about Requestly HTTP Interceptor?
What happened?
Query parameter rules lose equals signs that are part of an existing value.
For example, modifying https://example.com?token=abc==&remove=1 parses token as abc. Adding another parameter, or removing the unrelated remove parameter, then rebuilds the URL without the trailing equals signs.
I expected Requestly to split each query parameter on the first equals sign and preserve everything after it as the value.
Steps to reproduce
To reproduce while adding a parameter:
- Create a Query Param rule that adds
added=2.
- Apply it to
https://example.com?token=abc==&remove=1.
- The rebuilt URL loses the trailing equals signs from
token.
To reproduce while removing a parameter:
- Create a Query Param rule that removes
remove.
- Apply it to
https://example.com?token=abc==&remove=1.
- The result should be
https://example.com?token=abc==, but the trailing equals signs are dropped.
Where does the bug happen?
- Browser extension (Chrome / Firefox / Edge / Safari)
- Web app (app.requestly.com)
Browser (if extension)
- Chrome
- Firefox
- Edge
- Safari
Operating system (if desktop or relevant)
N/A
Version
- Current
master: 700da5b
- Extension:
26.7.27
Which area?
rules (redirect, modify headers, replace, etc.)
Logs / screenshots / HAR
Not applicable. This happens in the shared query parameter parser.
Anything else?
A small fix and regression tests for both add and remove operations are ready.
Is this about Requestly HTTP Interceptor?
What happened?
Query parameter rules lose equals signs that are part of an existing value.
For example, modifying
https://example.com?token=abc==&remove=1parsestokenasabc. Adding another parameter, or removing the unrelatedremoveparameter, then rebuilds the URL without the trailing equals signs.I expected Requestly to split each query parameter on the first equals sign and preserve everything after it as the value.
Steps to reproduce
To reproduce while adding a parameter:
added=2.https://example.com?token=abc==&remove=1.token.To reproduce while removing a parameter:
remove.https://example.com?token=abc==&remove=1.https://example.com?token=abc==, but the trailing equals signs are dropped.Where does the bug happen?
Browser (if extension)
Operating system (if desktop or relevant)
N/A
Version
master:700da5b26.7.27Which area?
rules (redirect, modify headers, replace, etc.)
Logs / screenshots / HAR
Not applicable. This happens in the shared query parameter parser.
Anything else?
A small fix and regression tests for both add and remove operations are ready.