Skip to content

Commit

Permalink
Xss fix (#1271)
Browse files Browse the repository at this point in the history
* Updates features so hook_facet_items_alter runs for every facet

* + Adds facet_api_bonus as a dependency for dkan_sitewide_search_db
+ Adds hook_facet_items_alter implementation to run filter_xss on every
facet
+ Adds hook_menu_alter implementation to run validations for
$items['search']
+ Validates all occurences for facets based on taxonomies.
+ Validates field_license occurances in the url
+ Validates author occurances in the url

* Add xss tests
  • Loading branch information
teosibileau authored and topicus committed Jul 25, 2016
1 parent 58519d7 commit 9bf3422
Show file tree
Hide file tree
Showing 6 changed files with 583 additions and 18 deletions.
Loading

0 comments on commit 9bf3422

Please sign in to comment.