Skip to content

Commit

Permalink
fix: converting request url to valid URI on code generate (#1827)
Browse files Browse the repository at this point in the history
  • Loading branch information
therealrinku authored Apr 15, 2024
1 parent 535d6e0 commit dce792a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bruno-app/src/utils/codegenerator/har.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const createPostData = (body) => {
export const buildHarRequest = ({ request, headers }) => {
return {
method: request.method,
url: request.url,
url: encodeURI(request.url),
httpVersion: 'HTTP/1.1',
cookies: [],
headers: createHeaders(headers),
Expand Down

0 comments on commit dce792a

Please sign in to comment.