mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
more fixes
This commit is contained in:
@@ -171,7 +171,7 @@ var path = require('path'),
|
||||
page = req.query.page;
|
||||
}
|
||||
|
||||
if(parseInt(page, 10) < 1) {
|
||||
if(!utils.isNumber(page) || parseInt(page, 10) < 1) {
|
||||
return res.send(404);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user