bruno icon indicating copy to clipboard operation
bruno copied to clipboard

$ in request path is automatically encoded as %24

Open ArthurTimmermans opened this issue 3 months ago • 6 comments

I have checked the following:

  • [x] I have searched existing issues and found nothing related to my issue.

This bug is:

  • [x] Making Bruno unusable for me.
  • [ ] Slowing me down but I'm able to continue working.
  • [ ] Annoying.
  • [x] This feature was working in a previous version but is broken in the current release.

Bruno version

4.0.0

💻 Operating System

Windows

Specific OS Version / Distro

Windows 11 Pro

🐞 Describe the bug

Bruno is automatically URL-encoding the $ character when it is used directly in the request path.

This worked correctly in Bruno 3.5.1, where $ was sent as entered. In newer versions, it is encoded to %24.

For example, this request:

POST {{PRV_url}}/$create-identity

is currently sent as:

POST {{PRV_url}}/%24create-identity

This changes the endpoint and causes requests to fail for APIs where $ is intentionally part of the path.

Expected behavior

The path should be sent as configured:

/$create-identity

This was the behavior in Bruno 3.5.1.

Actual behavior

Bruno encodes $ to %24:

/%24create-identity

This appears to be a regression introduced after version 3.5.1. Other special characters in URL paths may potentially be affected as well.

📝 Steps to reproduce

Send a request with $ in the request path

Image

And you will see in the network tab, it is send as

Image

📁 Collection to reproduce

No response

📷 Screenshots/Live demo link

Image Image

ArthurTimmermans avatar Aug 20 '26 08:08 ArthurTimmermans

Hi @ArthurTimmermans, could you please try turning off "URL Encoding" from collections settings and send the request again?

This would give you the expected behaviour and will not it to encoded to %24.

Image

In Network tab -

Image

Rohan-Bruno avatar Aug 20 '26 11:08 Rohan-Bruno

Faced the same issue. Disabled the URL encoding does the trick to resolve it.

wildan3105 avatar Aug 27 '26 07:08 wildan3105

Hi @ArthurTimmermans, just checking in to see if turning off URL Encoding solved this issue for you?

Rohan-Bruno avatar Sep 03 '26 10:09 Rohan-Bruno

I have also run into this issue. API paths with "$" in it are very common for some API operations. I would argue this is considered a bug, as the option is hidden fairly deep in the settings. It took me over 1hr to find this.

The description of this setting says it "Automatically encodes query parameters", but these are not query parameters if they are part of the url path.

bforbis avatar Sep 12 '26 03:09 bforbis

Hi all. I have the same issue on Bruno 4.1.0. Disabling URL Encoding makes the request work, but this is not a practical solution because other characters in the URL may still require encoding. Please note that HL7 FHIR api makes high use of $ operations.

nicoletta-triolo avatar Sep 28 '26 10:09 nicoletta-triolo

The same problem happens if you want to use a colon in the URL. https://foo.bar/api/foo:bar --> https://foo.bar/api/foo%3Abar

The result in my case was like:

{
  "error_code": "ENDPOINT_NOT_FOUND",
  "message": "No API found for 'POST /foo%3Abar'",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.RequestInfo",
      "request_id": "123",
      "serving_data": ""
    }
  ]
}

mdvorakenbwcom avatar Nov 11 '26 13:11 mdvorakenbwcom