This commit is contained in:
Carlos Antonio da Silva 2017-01-17 19:53:38 -02:00
Родитель 9dceb6e140
Коммит 35d3c219ce
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -109,7 +109,7 @@ module SecureHeaders
DIRECTIVES_2_0 + DIRECTIVES_DRAFT
).freeze
ALL_DIRECTIVES = [DIRECTIVES_1_0 + DIRECTIVES_2_0 + DIRECTIVES_3_0 + DIRECTIVES_DRAFT].flatten.uniq.sort
ALL_DIRECTIVES = (DIRECTIVES_1_0 + DIRECTIVES_2_0 + DIRECTIVES_3_0 + DIRECTIVES_DRAFT).uniq.sort
# Think of default-src and report-uri as the beginning and end respectively,
# everything else is in between.