mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-23 20:55:41 +00:00
fix: converting request url to valid URI on code generate (#1827)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user