Skip to content

Commit

Permalink
Merge pull request #100.
Browse files Browse the repository at this point in the history
  • Loading branch information
philr committed Dec 8, 2019
2 parents 8fdf06e + eaa31c0 commit 56e2af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tzinfo/data_sources/ruby_data_source.rb
Expand Up @@ -48,7 +48,7 @@ def initialize
data_file = File.join('', 'tzinfo', 'data.rb')
path = $".reverse_each.detect {|p| p.end_with?(data_file) }
if path
@base_path = File.join(File.dirname(path), 'data')
@base_path = File.join(File.dirname(path), 'data').untaint
else
@base_path = 'tzinfo/data'
end
Expand Down

0 comments on commit 56e2af6

Please sign in to comment.