Skip to content

Commit

Permalink
Format of new policy adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Clifford committed Nov 27, 2020
1 parent 202fe91 commit b7a5908
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Policies/double_file_extensions.policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ description: |
Drupal Security team: "Additionally, it's recommended that you audit all previously uploaded files to check for malicious extensions. Look specifically for files that include more than one extension, like .php.txt or .html.gif."
success: No double file extensions could be found
failure: >-
{{ results.found }} files with double extensions were found:
{{#results.findings}}
{{ markdown_display }}
{{/results.findings}}
{{ results.found }} file/s with double extensions was/were found:
{{#results.findings}}{{ markdown_display }}{{/results.findings}}
parameters:
directory:
default: "%root/sites"
Expand Down

0 comments on commit b7a5908

Please sign in to comment.