diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-04 21:07:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-04 21:07:04 +0300 |
commit | f2f95cc1bac06c8b4e506f02c1b90754adda67ec (patch) | |
tree | de147240f9a142dac58c1eb9d81106ade924163a /patches | |
parent | f7bd454bd5bfd5494e8a89fe1594f0612024bd6a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'patches')
-rw-r--r-- | patches/@rails+ujs+7.0.5.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/patches/@rails+ujs+7.0.5.patch b/patches/@rails+ujs+7.0.5.patch deleted file mode 100644 index 65a4eb029b8..00000000000 --- a/patches/@rails+ujs+7.0.5.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js b/node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js -index d428163..010eaa5 100644 ---- a/node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js -+++ b/node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js -@@ -281,11 +281,6 @@ Released under the MIT license - try { - response = JSON.parse(response); - } catch (error) {} -- } else if (type.match(/\b(?:java|ecma)script\b/)) { -- script = document.createElement('script'); -- script.setAttribute('nonce', cspNonce()); -- script.text = response; -- document.head.appendChild(script).parentNode.removeChild(script); - } else if (type.match(/\b(xml|html|svg)\b/)) { - parser = new DOMParser(); - type = type.replace(/;.+/, ''); |