View definition

(SecureConfig).XSSProtection

Defined in github.com/labstack/echo/middleware/secure.go

Description

XSSProtection provides protection against cross-site scripting attack (XSS) by setting the `X-XSS-Protection` header. Optional. Default value "1; mode=block".

XSSProtection is referenced in 1 repository

github.com/labstack/echo