lib/www/mechanize/form/file_upload.rb in mechanize-0.7.8 vs lib/www/mechanize/form/file_upload.rb in mechanize-0.8.0
- old
+ new
@@ -12,10 +12,10 @@
alias :file_data :value
alias :file_data= :value=
def initialize(name, file_name)
- @file_name = Mechanize.html_unescape(file_name)
+ @file_name = Util.html_unescape(file_name)
@file_data = nil
super(name, @file_data)
end
end
end