Strata\Security\XssHandler

Enforces triggers that warn browsers to be wary of XSS attacks.

    Synopsis

    class XssHandler extends ImprovementBase {
    • // Inherited methods from ImprovementBase
    • public abstract void register()
    }

    Hierarchy

    Methods

    protected

    • shouldAdd() — Checks the configuration file to ensure we are expected to force Strata' xss protection.

    public

    Inherited from Strata\Security\ImprovementBase

    public

    • register() — Registers the filter that handles comment validation if required.