Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe
2025-08-18 15:24:25 +01:00
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -123,9 +123,9 @@ class Helper
if (is_numeric($cost)) {
if (Setting::getSettings()->digit_separator=='1.234,56') {
return (float) number_format($cost, 2, ',', '.');
return number_format($cost, 2, ',', '.');
}
return (float) number_format($cost, 2, '.', ',');
return number_format($cost, 2, '.', ',');
}
// It's already been parsed.
return $cost;
-1
View File
@@ -26,7 +26,6 @@ class SecurityHeaders
$response = $next($request);
$response->headers->set('X-Content-Type-Options', 'nosniff');
$response->headers->set('X-XSS-Protection', '1; mode=block');
// Ugh. Feature-Policy is dumb and clumsy and mostly irrelevant for Snipe-IT,
// since we don't provide any way to IFRAME anything in in the first place.