Scada-LTS
Scada-LTS copied to clipboard
Fixed visible 'HTTP response headers' in 'System settings'
To Reproduce Steps to reproduce the behavior:
- Login as admin;
- Go to 'System settings';
- Find section 'HTTP settings' and text field 'HTTP response headers';
- Past:
{
"Content-Security-Policy" : "default-src 'self';style-src 'unsafe-inline' 'self';script-src 'unsafe-inline' 'unsafe-eval' 'self';"
}
-
Click on 'Save' button:
-
Refresh page then:
We see
[object Object]
instead of text from step 4 -> error
Spec:
- Scada-LTS version: v2.7.7
- Chrome version: 122.0.6261.95