File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -261,10 +261,10 @@ def append_http_additions
261261
262262 def translate_dir_value val
263263 if %w{ inline eval } . include? ( val )
264- warn "[DEPRECATION] using inline/eval may not be supported in the future . Instead use 'unsafe-inline'/'unsafe-eval' instead."
264+ warn "[DEPRECATION] using inline/eval is not suppored in secure_headers 3.x . Instead use 'unsafe-inline'/'unsafe-eval' instead."
265265 val == 'inline' ? "'unsafe-inline'" : "'unsafe-eval'"
266266 elsif %{self none} . include? ( val )
267- warn "[DEPRECATION] using self/none may not be supported in the future . Instead use 'self'/'none' instead."
267+ warn "[DEPRECATION] using self/none is not suppored in secure_headers 3.x . Instead use 'self'/'none' instead."
268268 "'#{ val } '"
269269 elsif val == 'nonce'
270270 if supports_nonces?
You can’t perform that action at this time.
0 commit comments