fix: trim leading and trailing whitespaces in URL - fixed #2046
This commit is contained in:
@@ -246,7 +246,7 @@ button {
|
|||||||
@apply transform;
|
@apply transform;
|
||||||
@apply origin-top-left;
|
@apply origin-top-left;
|
||||||
@apply scale-75;
|
@apply scale-75;
|
||||||
@apply -translate-y-5;
|
@apply -translate-y-4;
|
||||||
@apply translate-x-1;
|
@apply translate-x-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ export function createRESTNetworkRequestStream(
|
|||||||
TE.bind("res", ({ req, headers, params }) =>
|
TE.bind("res", ({ req, headers, params }) =>
|
||||||
runAppropriateStrategy({
|
runAppropriateStrategy({
|
||||||
method: req.method as any,
|
method: req.method as any,
|
||||||
url: req.effectiveFinalURL,
|
url: req.effectiveFinalURL.trim(),
|
||||||
headers,
|
headers,
|
||||||
params,
|
params,
|
||||||
data: req.effectiveFinalBody,
|
data: req.effectiveFinalBody,
|
||||||
|
|||||||
Reference in New Issue
Block a user