lib/rex/zip/entry.rb in rex-2.0.9 vs lib/rex/zip/entry.rb in rex-2.0.10
- old
+ new
@@ -74,10 +74,10 @@
def relative_path
get_relative_path(@name)
end
def central_dir_path
- return nil if @central_dir_name.blank?
+ return nil if @central_dir_name.to_s.empty?
get_relative_path(@central_dir_name)
end
#