fix: trim leading and trailing whitespaces in URL - fixed #2046
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user