nuxt4, and some changes on packages
This commit is contained in:
Generated
Vendored
+1
-1
@@ -692,7 +692,7 @@ function ipxFSStorage(_options = {}) {
|
||||
const fs = await _getFS();
|
||||
for (const dir of dirs) {
|
||||
const filePath = join(dir, id);
|
||||
if (!isValidPath(filePath) || !filePath.startsWith(dir)) {
|
||||
if (!isValidPath(filePath) || !filePath.startsWith(dir + "/")) {
|
||||
throw createError({
|
||||
statusCode: 403,
|
||||
statusText: `IPX_FORBIDDEN_PATH`,
|
||||
Reference in New Issue
Block a user