Skip to content
This repository

Fixed environment view bug which broke filtering #79

Merged
merged 1 commit into from almost 2 years ago

2 participants

Dave Pijuan-Nomura Sebastian Martinez
Dave Pijuan-Nomura
dpnsan commented July 11, 2012

Filtering was broken in the environment partial. This small change fixes it.

Sebastian Martinez smartinez87 merged commit eb9d723 into from July 11, 2012
Sebastian Martinez smartinez87 closed this July 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jul 11, 2012
Dave Pijuan-Nomura Fixed environment view bug which broke filtering 08d9855
This page is out of date. Refresh to see the latest.
2  views/exception_notifier/_environment.rhtml
... ...
@@ -1,6 +1,6 @@
1 1
 <% max = @request.env.keys.max { |a,b| a.length <=> b.length } -%>
2 2
 <% @request.env.keys.sort.each do |key| -%>
3  
-* <%= "%-*s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key].to_s.strip)] %>
  3
+* <%= "%-*s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key]).to_s.strip] %>
4 4
 <% end -%>
5 5
 
6 6
 * Process: <%= $$ %>
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.