증상: 3.4로 업데이트한 후 포럼 전체가 “Oops” 오류를 표시했습니다. 더 나쁜 것은 로그가 이 문제에 대해 완전히 침묵했다는 점입니다.
script-src: 'unsafe-eval' https://redacted.example.com 값이 있는 "security policy 확장"을 가진 테마 컴포넌트가 있었습니다.
이 값에 공백이 포함되어 있어 액션 디스패처에서 예외가 발생했고, 이로 인해 포럼 전체가 충돌했습니다.
ActionDispatch::ContentSecurityPolicy::InvalidDirectiveError (Invalid Content Security Policy script-src: \"'unsafe-eval' https://redacted.example.com\". Directive values must not contain whitespace
or semicolons. Please use multiple arguments or other directive methods instead.)