fix: trim leading and trailing whitespaces in URL - fixed #2046

This commit is contained in:
liyasthomas
2021-12-28 09:36:16 +05:30
parent ce94fa54ee
commit 724e1e4c8f
2 changed files with 2 additions and 2 deletions

View File

@@ -246,7 +246,7 @@ button {
@apply transform;
@apply origin-top-left;
@apply scale-75;
@apply -translate-y-5;
@apply -translate-y-4;
@apply translate-x-1;
}

View File

@@ -147,7 +147,7 @@ export function createRESTNetworkRequestStream(
TE.bind("res", ({ req, headers, params }) =>
runAppropriateStrategy({
method: req.method as any,
url: req.effectiveFinalURL,
url: req.effectiveFinalURL.trim(),
headers,
params,
data: req.effectiveFinalBody,