Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
47b9b162
Commit
47b9b162
authored
Jun 27, 2016
by
Connor Shea
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert Subresource Integrity pending a fix for Firefox's incorrect hashing implementation.
parent
0115ab7f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
CHANGELOG
CHANGELOG
+0
-1
app/helpers/javascript_helper.rb
app/helpers/javascript_helper.rb
+1
-1
app/views/layouts/_head.html.haml
app/views/layouts/_head.html.haml
+3
-3
No files found.
CHANGELOG
View file @
47b9b162
...
@@ -7,7 +7,6 @@ v 8.10.0 (unreleased)
...
@@ -7,7 +7,6 @@ v 8.10.0 (unreleased)
- Fix MR-auto-close text added to description. !4836
- Fix MR-auto-close text added to description. !4836
- Fix pagination when sorting by columns with lots of ties (like priority)
- Fix pagination when sorting by columns with lots of ties (like priority)
- Exclude email check from the standard health check
- Exclude email check from the standard health check
- Implement Subresource Integrity for CSS and JavaScript assets. This prevents malicious assets from loading in the case of a CDN compromise.
- Fix changing issue state columns in milestone view
- Fix changing issue state columns in milestone view
- Fix user creation with stronger minimum password requirements !4054 (nathan-pmt)
- Fix user creation with stronger minimum password requirements !4054 (nathan-pmt)
- Add API endpoint for a group issues !4520 (mahcsig)
- Add API endpoint for a group issues !4520 (mahcsig)
...
...
app/helpers/javascript_helper.rb
View file @
47b9b162
module
JavascriptHelper
module
JavascriptHelper
def
page_specific_javascript_tag
(
js
)
def
page_specific_javascript_tag
(
js
)
javascript_include_tag
asset_path
(
js
),
{
integrity:
true
,
"data-turbolinks-track"
=>
true
}
javascript_include_tag
asset_path
(
js
),
{
"data-turbolinks-track"
=>
true
}
end
end
end
end
app/views/layouts/_head.html.haml
View file @
47b9b162
...
@@ -25,10 +25,10 @@
...
@@ -25,10 +25,10 @@
=
favicon_link_tag
'favicon.ico'
=
favicon_link_tag
'favicon.ico'
=
stylesheet_link_tag
"application"
,
media:
"all"
,
integrity:
true
=
stylesheet_link_tag
"application"
,
media:
"all"
=
stylesheet_link_tag
"print"
,
media:
"print"
,
integrity:
true
=
stylesheet_link_tag
"print"
,
media:
"print"
=
javascript_include_tag
"application"
,
integrity:
true
=
javascript_include_tag
"application"
-
if
content_for?
(
:page_specific_javascripts
)
-
if
content_for?
(
:page_specific_javascripts
)
=
yield
:page_specific_javascripts
=
yield
:page_specific_javascripts
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment