spanner!
This commit is contained in:
parent
007d2c8de1
commit
eb1ab9b5fc
@ -85,7 +85,7 @@ const bouncer = ['phpmyadmin',
|
||||
function getUrl (req, res) {
|
||||
const theUrl = req.params.encoded_id;
|
||||
logger.debug('Want', theUrl);
|
||||
if (theUrl === undefined || bouncer.findIndex(theUrl) !== -1 || theUrl === '') {
|
||||
if (theUrl === undefined || bouncer.indexOf(theUrl) !== -1 || theUrl === '') {
|
||||
logger.warn(`You're not getting in ${theUrl}`);
|
||||
res.status(403);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user