|
@@ -87,6 +87,7 @@ export const routesFactory = (crowi): any => {
|
|
|
const user = req.user;
|
|
const user = req.user;
|
|
|
const { pagePath, fileNameOrId } = req.query;
|
|
const { pagePath, fileNameOrId } = req.query;
|
|
|
const filterXSS = new FilterXSS();
|
|
const filterXSS = new FilterXSS();
|
|
|
|
|
+
|
|
|
if (pagePath == null) {
|
|
if (pagePath == null) {
|
|
|
res.status(400).send('the param \'pagePath\' must be set.');
|
|
res.status(400).send('the param \'pagePath\' must be set.');
|
|
|
return;
|
|
return;
|