Open allanf181 opened 2 weeks ago
When you import cURL from Apidog, you won't encounter this issue. Give it a try; I think it's quite effective.
Maybe it's removed by this line. However, is there a case where it only works when there is a '/' at the end of the url?
@jokj624 that line is actually specifically written to remove the /
from the end of a url. So seems like they are intentionally stripping of that last backslash for some reason. Not sure why the raw_url
field also gets the processed value. That does not seem "raw" to me.
I have checked the following:
Describe the bug
When a curl command is imported, the url is changed by removing the last /
curl 'http://example.com/test/'
turns intohttp://example.com/test
This affects endpoints that end with /
.bru file to reproduce the bug
No response
Screenshots/Live demo link
https://github.com/usebruno/bruno/assets/14101716/8c417d75-78f6-49ac-a008-737a63840656