Commit 285fadcb authored by Tim Zallmann's avatar Tim Zallmann

Fixes Username Value Exposing

parent e7757486
...@@ -133,7 +133,7 @@ module CommitsHelper ...@@ -133,7 +133,7 @@ module CommitsHelper
source_name = clean(commit.send "#{options[:source]}_name".to_sym) source_name = clean(commit.send "#{options[:source]}_name".to_sym)
source_email = clean(commit.send "#{options[:source]}_email".to_sym) source_email = clean(commit.send "#{options[:source]}_email".to_sym)
person_name = user.try(:name) || source_name person_name = simple_sanitize(user.try(:name) || source_name)
text = text =
if options[:avatar] if options[:avatar]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment