Protect against XSS vulnerabilities in URL redirection
- Switch from base64 to URL encoding for the passing the URL, using the built-in Mako filtering
- Apply HTML filtering to Mako output by default
- Disable HTML filtering for nested templates in adduser, modify, and selfmodify
1 parent 1ed654c commit 6f98076281e9452fdb1adcd1bcbb70a6f968ade9
@John Thiltges John Thiltges authored on 3 Jan 2019
Showing 5 changed files
View
ldapcherry/__init__.py
View
resources/templates/adduser.tmpl
View
resources/templates/login.tmpl
View
resources/templates/modify.tmpl
View
resources/templates/selfmodify.tmpl