Skip to content

Commit

Permalink
Add option to control filtering of external references in user input
Browse files Browse the repository at this point in the history
  • Loading branch information
collectiveaccess committed Sep 30, 2021
1 parent 5a3c20b commit 32907d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/conf/app.conf
Expand Up @@ -24,8 +24,14 @@ debug = 0
minification = 0

clean_urls = 1

# Filter all text input
purify_all_text_input = 1

# Allow external references (Eg. img tags) in user input?
# This can be a security hole. Only enable if you have to.
purify_allow_external_references = 0


# -------------------
# Search engine configuration
Expand Down

0 comments on commit 32907d0

Please sign in to comment.