Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cwangsmv committed Sep 19, 2024
1 parent 5bf6efb commit fa6c606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/insomnia/src/network/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ export const responseTransform = async (patch: ResponsePatch, environmentId: str
};
export const transformUrl = (url: string, params: RequestParameter[], authentication: RequestAuthentication, shouldEncode: boolean) => {
const authQueryParam = getAuthQueryParams(authentication);
const customUrl = joinUrlAndQueryString(url, buildQueryStringFromParams(authQueryParam ? params.concat([authQueryParam]) : params));
const customUrl = joinUrlAndQueryString(url, buildQueryStringFromParams(authQueryParam ? params.concat([authQueryParam]) : params, true, { strictNullHandling: true }));
const isUnixSocket = customUrl.match(/https?:\/\/unix:\//);
if (!isUnixSocket) {
return { finalUrl: smartEncodeUrl(customUrl, shouldEncode, { strictNullHandling: true }) };
Expand Down

0 comments on commit fa6c606

Please sign in to comment.