mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-26 08:39:11 +01:00
fix: converting request url to valid URI on code generate (#1827)
This commit is contained in:
parent
535d6e0389
commit
dce792accd
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user