diff options
author | George Claghorn <george.claghorn@gmail.com> | 2019-03-08 15:25:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-08 15:25:24 -0500 |
commit | ceeef26fd43ab6daff19042db73abd49d9ed5d61 (patch) | |
tree | b888dae800b44adb12c8592f2bbc7048c9c4ecc6 /Rakefile | |
parent | cc7483d3f081086fe4fcb8f1e2f511e50c929cc5 (diff) | |
download | rails-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 'Rakefile')
0 files changed, 0 insertions, 0 deletions