Skip to content

Commit

Permalink
Splash UI: pass filters argument
Browse files Browse the repository at this point in the history
it is not exposed in the UI, but it can be added to the URL
  • Loading branch information
kmike committed Apr 27, 2016
1 parent 03a6daa commit a0c503d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions splash/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,10 @@ def _validate_params(self, request):
'png': 1,
'html': 1,
})
filters = options.get('filters', default='')
if filters:
params['filters'] = filters

if self.lua_enabled:
params.update({
'lua_source': options.get_lua_source(),
Expand Down

0 comments on commit a0c503d

Please sign in to comment.