Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding file to a request prepends a forward slash to filename #13367

Open
1 task done
crepusculi opened this issue Dec 20, 2024 · 1 comment
Open
1 task done

Adding file to a request prepends a forward slash to filename #13367

crepusculi opened this issue Dec 20, 2024 · 1 comment
Assignees

Comments

@crepusculi
Copy link

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

When I attempt to add a file to my request's body, either form-data or binary, after selecting the file from the picker dialog, the filename is prepended by a forward slash ("/"). This causes the program to not find the file when the request is sent, as that particular file path does not exist.

I have tried moving the file to multiple locations on my machine, including the workspace location, but to no avail.

Steps To Reproduce

  1. Open a new request tab
  2. Select the Body tab
  3. Choose the binary radio button
  4. Click "Select File"
  5. Choose a file and click Open

Screenshots or Videos

Binary
form-data
console output

Operating System

Windows

Postman Version

1.5.1

Postman Platform

Postman VSCode Extension

User Account Type

Signed In User

Additional Context?

This behavior only happens using the VS Code extension, not the desktop app.

@rishavbharti
Copy link
Member

This issue has been resolved in the latest version of the extension (v1.6.1). Please update to the newest version and give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants