Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Issue warnings when unsafe-inline or unsafe-eval are used in auto mode #29602

Merged
merged 10 commits into from
Jun 16, 2020
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public static function getCspUnsafeInlineStatus()
->select('COUNT(*)')
->from($db->quoteName('#__csp'))
->where($db->quoteName('blocked_uri') . ' = ' . $db->quote("'unsafe-inline'"))
->where($db->quoteName('published') . ' = ' . $db->quote('1'));
->where($db->quoteName('published') . ' = 1'));
richard67 marked this conversation as resolved.
Show resolved Hide resolved
$db->setQuery($query);

try
Expand Down