Remove some old accepted query params

This commit is contained in:
Raul Ochoa
2015-03-23 17:54:37 +01:00
parent f5f7be627f
commit c19f652ff3
2 changed files with 32 additions and 30 deletions
-8
View File
@@ -12,17 +12,12 @@ var CdbRequest = require('./models/cdb_request');
var REQUEST_QUERY_PARAMS_WHITELIST = [
'user',
'sql',
'geom_type',
'cache_buster',
'cache_policy',
'callback',
'interactivity',
'map_key',
'api_key',
'auth_token',
'style',
'style_version',
'style_convert',
'config',
'scale_factor'
];
@@ -531,9 +526,6 @@ module.exports = function(redisPool) {
if ( req.query.lzma ) {
// TODO: check ?
//console.log("type of req.query.lzma is " + typeof(req.query.lzma));
// Decode (from base64)
var lzma = new Buffer(req.query.lzma, 'base64')
.toString('binary')