##// END OF EJS Templates
Merged r13101 from trunk to 2.4-stable (#16711)...
Toshi MARUYAMA -
r12828:70bc3fd60187
parent child
Show More
@@ -555,7 +555,7 class ApplicationController < ActionController::Base
555 555
556 556 # Returns a string that can be used as filename value in Content-Disposition header
557 557 def filename_for_content_disposition(name)
558 request.env['HTTP_USER_AGENT'] =~ %r{MSIE} ? ERB::Util.url_encode(name) : name
558 request.env['HTTP_USER_AGENT'] =~ %r{(MSIE|Trident)} ? ERB::Util.url_encode(name) : name
559 559 end
560 560
561 561 def api_request?
General Comments 0
You need to be logged in to leave comments. Login now