| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:3e2d885e-976f-ab7a-0fed-e44a085cd651 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8AEE:2CB837:1F7E335:2B46492:6964CCFE |
| html-safe-nonce | 49773d4bf1e60e0d042400eab5e931bb0160367bb2ed94e65ad059adbc4099c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUVFOjJDQjgzNzoxRjdFMzM1OjJCNDY0OTI6Njk2NENDRkUiLCJ2aXNpdG9yX2lkIjoiODI1OTIwNTU4MDY0NzA5MTQ1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6f70cf011d1862b08c0c6778c7e5a9bf41630327b2b75ee1d90fd86bdc69b01d |
| hovercard-subject-tag | pull_request:177318882 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/github/secure_headers/389/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a07b4c83de9c5730a75ad868400623b2d20162098d95d162da219a02a6482699/github/secure_headers/pull/389 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a07b4c83de9c5730a75ad868400623b2d20162098d95d162da219a02a6482699/github/secure_headers/pull/389 |
| og:image:alt | Rails 5.2 adds support for configuring a Content-Security-Policy header, including adding nonces to tags produced by the javascript_tag helper.
Unfortunately, Rails and this gem now both define a h... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eugeneius |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5838582163a1256e5ebd5086b7e1dc5cea93d82086c9c8b1395fb50f6ddab28d |
| turbo-cache-control | no-preview |
| go-import | github.com/github/secure_headers git https://github.com/github/secure_headers.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 7122663 |
| octolytics-dimension-repository_nwo | github/secure_headers |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7122663 |
| octolytics-dimension-repository_network_root_nwo | github/secure_headers |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8f997e7f84bd1db9537ba403fa68be0da3423594 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/secure_headers/pull/389#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fsecure_headers%2Fpull%2F389 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fsecure_headers%2Fpull%2F389 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=github%2Fsecure_headers |
| Reload | https://github.com/github/secure_headers/pull/389 |
| Reload | https://github.com/github/secure_headers/pull/389 |
| Reload | https://github.com/github/secure_headers/pull/389 |
|
github
| https://github.com/github |
| secure_headers | https://github.com/github/secure_headers |
|
Notifications
| https://github.com/login?return_to=%2Fgithub%2Fsecure_headers |
|
Fork
253
| https://github.com/login?return_to=%2Fgithub%2Fsecure_headers |
|
Star
3.3k
| https://github.com/login?return_to=%2Fgithub%2Fsecure_headers |
|
Code
| https://github.com/github/secure_headers |
|
Issues
14
| https://github.com/github/secure_headers/issues |
|
Pull requests
7
| https://github.com/github/secure_headers/pulls |
|
Actions
| https://github.com/github/secure_headers/actions |
|
Projects
0
| https://github.com/github/secure_headers/projects |
|
Models
| https://github.com/github/secure_headers/models |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/github/secure_headers/security |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
|
Insights
| https://github.com/github/secure_headers/pulse |
|
Code
| https://github.com/github/secure_headers |
|
Issues
| https://github.com/github/secure_headers/issues |
|
Pull requests
| https://github.com/github/secure_headers/pulls |
|
Actions
| https://github.com/github/secure_headers/actions |
|
Projects
| https://github.com/github/secure_headers/projects |
|
Models
| https://github.com/github/secure_headers/models |
|
Security
| https://github.com/github/secure_headers/security |
|
Insights
| https://github.com/github/secure_headers/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgithub%2Fsecure_headers%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgithub%2Fsecure_headers%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/github/secure_headers/pull/389#issue-comment-box |
| oreoshake | https://github.com/oreoshake |
| github:master | https://github.com/github/secure_headers/tree/master |
| eugeneius:avoid_content_security_policy_nonce | https://github.com/eugeneius/secureheaders/tree/avoid_content_security_policy_nonce |
|
Avoid calling content_security_policy_nonce internally
| https://github.com/github/secure_headers/pull/389#top |
| oreoshake | https://github.com/oreoshake |
| github:master | https://github.com/github/secure_headers/tree/master |
| eugeneius:avoid_content_security_policy_nonce | https://github.com/eugeneius/secureheaders/tree/avoid_content_security_policy_nonce |
|
Conversation
11
| https://github.com/github/secure_headers/pull/389 |
|
Commits
1
| https://github.com/github/secure_headers/pull/389/commits |
|
Checks
0
| https://github.com/github/secure_headers/pull/389/checks |
|
Files changed
| https://github.com/github/secure_headers/pull/389/files |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.co/hiddenchars |
| https://github.com/github/secure_headers/pull/{{ revealButtonHref }} |
|
| https://github.com/eugeneius |
| eugeneius | https://github.com/eugeneius |
| Mar 25, 2018 | https://github.com/github/secure_headers/pull/389#issue-308397917 |
| https://github.com/rails/rails/blob/v5.2.0.rc2/actionpack/lib/action_controller/metal/content_security_policy.rb#L44 | https://github.com/rails/rails/blob/v5.2.0.rc2/actionpack/lib/action_controller/metal/content_security_policy.rb#L44 |
| https://github.com/twitter/secureheaders/blob/v5.0.5/lib/secure_headers/view_helper.rb#L69 | https://github.com/twitter/secureheaders/blob/v5.0.5/lib/secure_headers/view_helper.rb#L69 |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
|
| https://github.com/eugeneius |
| Avoid calling content_security_policy_nonce internally | https://github.com/github/secure_headers/pull/389/commits/d1f0162eb678554f293b99e838a996cdccea579d |
| d1f0162 | https://github.com/github/secure_headers/pull/389/commits/d1f0162eb678554f293b99e838a996cdccea579d |
| https://github.com/rails/rails/blob/v5.2.0.rc2/actionpack/lib/action_controller/metal/content_security_policy.rb#L44 | https://github.com/rails/rails/blob/v5.2.0.rc2/actionpack/lib/action_controller/metal/content_security_policy.rb#L44 |
| https://github.com/twitter/secureheaders/blob/v5.0.5/lib/secure_headers/view_helper.rb#L69 | https://github.com/twitter/secureheaders/blob/v5.0.5/lib/secure_headers/view_helper.rb#L69 |
| https://github.com/CLAassistant |
| CLAassistant | https://github.com/CLAassistant |
| Mar 25, 2018 | https://github.com/github/secure_headers/pull/389#issuecomment-376013562 |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://cla-assistant.io/twitter/secureheaders?pullRequest=389 |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.com/jacobbednarz |
| jacobbednarz | https://github.com/jacobbednarz |
|
Mar 25, 2018
| https://github.com/github/secure_headers/pull/389#pullrequestreview-106748969 |
|
View reviewed changes
| https://github.com/github/secure_headers/pull/389/files/d1f0162eb678554f293b99e838a996cdccea579d |
| jacobbednarz | https://github.com/jacobbednarz |
| https://github.com/github/secure_headers/pull/389#pullrequestreview-106748969 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.com/eugeneius |
| eugeneius | https://github.com/eugeneius |
| Mar 26, 2018 | https://github.com/github/secure_headers/pull/389#issuecomment-376014769 |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.com/oreoshake |
| oreoshake | https://github.com/oreoshake |
| Mar 26, 2018 | https://github.com/github/secure_headers/pull/389#issuecomment-376339057 |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.com/oreoshake |
| oreoshake | https://github.com/oreoshake |
| a39ae20 | https://github.com/github/secure_headers/commit/a39ae208bb2cfd0b2f772a5ca4e5ea9d9077334b |
| Mar 26, 2018 | https://github.com/github/secure_headers/pull/389#event-1542034794 |
| https://github.com/oreoshake |
| oreoshake | https://github.com/oreoshake |
| Mar 26, 2018 | https://github.com/github/secure_headers/pull/389#issuecomment-376340121 |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.com/eugeneius |
| eugeneius | https://github.com/eugeneius |
| Mar 26, 2018 | https://github.com/github/secure_headers/pull/389#issuecomment-376345960 |
| @oreoshake | https://github.com/oreoshake |
| this line | https://github.com/twitter/secureheaders/blob/v6.0.0.alpha02/lib/secure_headers/view_helper.rb#L77 |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.com/paulfri |
| paulfri | https://github.com/paulfri |
| Mar 26, 2018 | https://github.com/github/secure_headers/pull/389#issuecomment-376346298 |
| @eugeneius | https://github.com/eugeneius |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.com/eugeneius |
| eugeneius | https://github.com/eugeneius |
| Mar 26, 2018 | https://github.com/github/secure_headers/pull/389#issuecomment-376348952 |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.com/paulfri |
| paulfri | https://github.com/paulfri |
| Mar 26, 2018 | https://github.com/github/secure_headers/pull/389#issuecomment-376350089 |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.com/eugeneius |
| eugeneius | https://github.com/eugeneius |
| Mar 27, 2018 | https://github.com/github/secure_headers/pull/389#issuecomment-376353405 |
| as an alias | https://github.com/twitter/secureheaders/blob/v6.0.0.alpha02/lib/secure_headers/view_helper.rb#L77 |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.com/paulfri |
| paulfri | https://github.com/paulfri |
| Mar 27, 2018 | https://github.com/github/secure_headers/pull/389#issuecomment-376356153 |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
| https://github.com/jacobbednarz |
| jacobbednarz | https://github.com/jacobbednarz |
|
May 22, 2018
| https://github.com/github/secure_headers/pull/389#ref-issue-325402232 |
|
Method conflicting content_security_policy_nonce with Rails 5.2
#392
| https://github.com/github/secure_headers/issues/392 |
| https://github.com/jdudley1123 |
| jdudley1123 | https://github.com/jdudley1123 |
|
Sep 20, 2023
| https://github.com/github/secure_headers/pull/389#ref-issue-1904928906 |
|
content_security_policy_nonce calls Rails method so CSP does not contain nonce
#511
| https://github.com/github/secure_headers/issues/511 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
|
Dec 17, 2025
| https://github.com/github/secure_headers/pull/389#ref-pullrequest-3740619642 |
|
Add default parameter to content_security_policy_nonce for Rails compatibility
#571
| https://github.com/github/secure_headers/pull/571 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fsecure_headers%2Fpull%2F389 |
|
| https://github.com/jacobbednarz |
|
jacobbednarz
| https://github.com/jacobbednarz |
|
| https://github.com/github/secure_headers/pull/389/files/d1f0162eb678554f293b99e838a996cdccea579d |
| Please reload this page | https://github.com/github/secure_headers/pull/389 |
|
| https://github.com/eugeneius |
|
| https://github.com/CLAassistant |
|
| https://github.com/oreoshake |
|
| https://github.com/paulfri |
|
| https://github.com/jacobbednarz |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |