...
|
...
|
@@ -11,7 +11,7 @@ const url = require('url'); |
|
|
* @return referer
|
|
|
*/
|
|
|
exports.refererLimit = (referer, blacklist) => { // eslint-disable-line
|
|
|
let result = decodeURI(referer | '/home');
|
|
|
let result = decodeURIComponent(referer || '/home');
|
|
|
|
|
|
let urlObj = url.parse(referer, false, true);
|
|
|
|
...
|
...
|
|