Skip to content

Commit

Permalink
Filter quicksearch input for XSS in all cases; make general filtering…
Browse files Browse the repository at this point in the history
… pref default to active in app.conf; had been disabled for performance reasons and due to user complaints; now leave it up to user to opt-put.
  • Loading branch information
collectiveaccess committed Sep 24, 2021
1 parent 8034eb1 commit 35fb6c3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/conf/app.conf
Expand Up @@ -2099,6 +2099,15 @@ service_controllers_directory = <ca_app_dir>/service/controllers
service_default_action = /search/rest/doSearch
service_view_path = <ca_app_dir>/service/views

# -----------------------------------
# Filtering of text input
#
# Set to filter all entered data through HTMLPurifier
# removing any potentially dangerous markup. This is generally
# a good thing, but significantly impacts performance. You may
# wish to disable it if all user input is trusted.
# -----------------------------------
purify_all_text_input = 1

# -----------------------------------
# Paths to other config files
Expand Down

0 comments on commit 35fb6c3

Please sign in to comment.