Skip to content

Commit

Permalink
chore: decode full url
Browse files Browse the repository at this point in the history
  • Loading branch information
nivedin committed Jul 10, 2024
1 parent ca2d672 commit e9d532a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/httpsnippet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,12 @@ export class HTTPSnippet {
...uriObj,
}); //?

const decodedFullUrl = decodeURIComponent(fullUrl);

return {
...request,
allHeaders,
fullUrl,
fullUrl:decodedFullUrl,
url,
uriObj,
};
Expand Down

0 comments on commit e9d532a

Please sign in to comment.