Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Avoid useless assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle committed Mar 16, 2019
1 parent 7d24f66 commit ed225e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/openid/store/filesystem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def mktemp
# create a safe filename from a url
def filename_escape(s)
s = '' if s.nil?
filename_chunks = s.each_char.flat_map {|c|
s.each_char.flat_map {|c|
@@FILENAME_ALLOWED.include?(c) ? c : c.bytes.map {|b|
"_%02X" % b
}
Expand Down

0 comments on commit ed225e2

Please sign in to comment.