I have checked the following:
This bug is:
Bruno version
3.4.2
Operating System
Ubuntu 24.04
Describe the bug
When exporting a Bruno collection to a Postman collection format, if a request URL uses an environment variable as the host (e.g., {{baseUrl}}) instead of an explicit protocol (http:// or https://), the converter incorrectly appends the entire query string to the last segment of the path array in the exported JSON.
Expected Behavior
For a URL like:
{{baseUrl}}/api/resource?message=Hello&userId=101
The exported Postman URL object's path array should cleanly split the segments:
"path": ["api", "resource"]
Actual Behavior
The query string leaks into the path structure, producing an invalid path component like this:
"path": ["api", "resource?message=Hello&userId=101"]
Steps to Reproduce
- Create a request in Bruno with a URL starting with a collection/environment variable instead of a protocol (e.g.,
{{baseUrl}}/api/chat?user=1).
- Export the collection to a Postman collection format.
- Open the exported .json file and inspect the request.url.path block.
.bru file to reproduce the bug
Import this Bruno collection and Export it as Postman collection
Bruno Test.zip
Exported Bruno Collection
Bruno Test.json
Screenshots/Live demo link

I have checked the following:
This bug is:
Bruno version
3.4.2
Operating System
Ubuntu 24.04
Describe the bug
When exporting a Bruno collection to a Postman collection format, if a request URL uses an environment variable as the host (e.g.,
{{baseUrl}}) instead of an explicit protocol (http:// or https://), the converter incorrectly appends the entire query string to the last segment of the path array in the exported JSON.Expected Behavior
For a URL like:
{{baseUrl}}/api/resource?message=Hello&userId=101The exported Postman URL object's path array should cleanly split the segments:
Actual Behavior
The query string leaks into the path structure, producing an invalid path component like this:
Steps to Reproduce
{{baseUrl}}/api/chat?user=1)..bru file to reproduce the bug
Import this Bruno collection and Export it as Postman collection
Bruno Test.zip
Exported Bruno Collection
Bruno Test.json
Screenshots/Live demo link