Skip to content

Bogus global variable access in XSSFilter:init #2

@agladysh

Description

@agladysh

args = args or {}

https://github.com/yuri/lua-xssfilter/blob/master/lua/xssfilter.lua#L144

Please remove, as it messes with our global environment protection.

Would be also cool to get rid of module() (in favor of return {}) and to alias all globals at the top of the file for better sandboxing support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions