Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Docs: explain blitz.auto_escape ini parameter, pseudo-filters and anti-XSS approach #64

Open
alexeyrybak opened this issue May 1, 2019 · 0 comments
Assignees

Comments

@alexeyrybak
Copy link
Owner

alexeyrybak commented May 1, 2019

Explain: (1) blitz.auto_escape (2) pseudo-filters (3) anti-XSS practices
{{ $html | raw }} when blitz.auto_escape = 1
{{ $var | escape }} when blitz.auto_escape = 0 (0 by default!)
{{ $var | nl2br }}

@alexeyrybak alexeyrybak changed the title Fix Docs: explain auto_escape ini parameter, pseudo-filters and anti-XSS approach Fix Docs: explain blitz.auto_escape ini parameter, pseudo-filters and anti-XSS approach May 1, 2019
@alexeyrybak alexeyrybak self-assigned this May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant