ProxymanApp / ProxymanApp/Proxyman

URL encoded characters in query params are decoded when using Scripting Tool

Open
#2,740 1 comment 0 reactions 1 assignee View on GitHub

@NghiaTranUIT is already working on this.

Since Aug 19, 2026.

✅ Done bug
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Description

Related to #2481 but instead of the path its happening on the query params.

Steps to Reproduce

  1. Create the following script in the Scripting Tool:
async function onRequest(context, url, request) {
    request.scheme = "http";
    request.host = "localhost";
    request.port = 5050;
    request.preserveHostHeader = true
  return request;
}
  1. Make a request to https://example.org/?testParam%5B%5D
  2. Observe that the request is forwarded to http://localhost:5050/?testParam[] instead of http://localhost:5050/?testParam%5B%5D

Current Behavior

The [] in the query param was decoded

Expected Behavior

The encoded query param should remain encoded, matching the behaviour of encoded characters in paths

Environment

  • App version: e.g Proxyman Version 6.15.0 (61500) |
  • macOS version: macOS: Version 26.5.2 (Build 25F84)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.