Skip to content

Bogus global variable access in XSSFilter:init #2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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