aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/configuration/custom_test.rb
diff options
context:
space:
mode:
authorGeorge Claghorn <george.claghorn@gmail.com>2019-03-08 15:25:24 -0500
committerGitHub <noreply@github.com>2019-03-08 15:25:24 -0500
commitceeef26fd43ab6daff19042db73abd49d9ed5d61 (patch)
treeb888dae800b44adb12c8592f2bbc7048c9c4ecc6 /railties/test/application/configuration/custom_test.rb
parentcc7483d3f081086fe4fcb8f1e2f511e50c929cc5 (diff)
downloadrails-ceeef26fd43ab6daff19042db73abd49d9ed5d61.tar.gz
rails-ceeef26fd43ab6daff19042db73abd49d9ed5d61.tar.bz2
rails-ceeef26fd43ab6daff19042db73abd49d9ed5d61.zip
Read the CSP nonce on page load
Turbolinks replaces the CSP nonce <meta> tag on page change, but inline scripts inserted by UJS need the nonce from the initial page load. In general, it doesn't matter to UJS if the nonce changes after the page loads: only the initial value is relevant.
Diffstat (limited to 'railties/test/application/configuration/custom_test.rb')
0 files changed, 0 insertions, 0 deletions