Skip to content

Commit

Permalink
Removed the logic that strips the backslash (usebruno#2793)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjai0py authored Aug 12, 2024
1 parent 5706c4b commit b23a866
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/bruno-app/src/utils/curl/curl-to-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ const curlToJson = (curlCommand) => {
request.urlWithoutQuery = 'http://' + request.urlWithoutQuery;
}

requestJson.url = request.urlWithoutQuery.replace(/\/$/, '');
requestJson.raw_url = request.url;
requestJson.url = request.urlWithoutQuery
requestJson.method = request.method;

if (request.cookies) {
Expand Down

0 comments on commit b23a866

Please sign in to comment.