Closed kaisermann closed 2 years ago
Closes https://github.com/sveltejs/kit/issues/4062
The isValidLocalPath was checking the path validity the other way around (not remote). We should instead check if it's a valid local path (starts with . and doesn't contain interpolation).
isValidLocalPath
.
Closes https://github.com/sveltejs/kit/issues/4062
The
isValidLocalPath
was checking the path validity the other way around (not remote). We should instead check if it's a valid local path (starts with.
and doesn't contain interpolation).