usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.6k stars 1.27k forks source link

When renaming a request in bruno client, if we add 'DELETE/' it removes such request #3454

Open Drachenfels opened 1 week ago

Drachenfels commented 1 week ago

I have checked the following:

Describe the bug

It's easy to reproduce.

  1. Create a new request say "Hello World" selection-20241108143931

  2. Rename the request to say "Hello/DELETE World" selection-20241108144105

  3. Instead of renaming, the file will be removed from the hard drive selection-20241108144113

.bru file to reproduce the bug

No response

Screenshots/Live demo link

selection-20241108143931 selection-20241108144105 selection-20241108144113

Drachenfels commented 1 week ago

It's probably somewhat related to those bug reports:

ganesh-bruno commented 1 week ago

Hey @Drachenfels Thanks for reporting this issue.

I'm able to reproduce it. The error occurs when renaming the request to req-name/DELETE and there is already PR addressing it. You can track the progress here: https://github.com/usebruno/bruno/pull/3274