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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
6ddf4567
Commit
6ddf4567
authored
Nov 22, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't escape Html in patches
Fixes #2036
parent
9e8aadb0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
app/controllers/commit_controller.rb
app/controllers/commit_controller.rb
+1
-1
app/views/commit/show.patch.erb
app/views/commit/show.patch.erb
+0
-1
No files found.
app/controllers/commit_controller.rb
View file @
6ddf4567
...
...
@@ -26,7 +26,7 @@ class CommitController < ProjectResourceController
end
end
format
.
patch
format
.
patch
{
render
text:
@commit
.
to_patch
}
end
end
end
app/views/commit/show.patch.erb
deleted
100644 → 0
View file @
9e8aadb0
<%=
@commit
.
to_patch
%>
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