Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Fix for unwanted encoding of Postman variables in query string, but k…
Browse files Browse the repository at this point in the history
…eep support for "space".
  • Loading branch information
Tim committed Jun 19, 2021
1 parent 7b00b47 commit 6cea2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generate/Request/analyze.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function address(address, feature, result) {
// Scheme missing
feature.address = new URI(`http://${addressText}`);
}
feature.address = feature.address.query(URI.encodeReserved(feature.address.query()));
feature.address = feature.address.query(feature.address.query().replace(/\s/g, '%20'));
}

function data(request, feature, result) {
Expand Down

0 comments on commit 6cea2df

Please sign in to comment.