##// END OF EJS Templates
respond nothing in case of content type is not html with invalid query params (#8883, #6317)....
Toshi MARUYAMA -
r6904:3504fd038c1f
parent child
Show More
@@ -99,7 +99,8 class IssuesController < ApplicationController
99 end
99 end
100 else
100 else
101 respond_to do |format|
101 respond_to do |format|
102 format.any(:html, :atom, :csv, :pdf) { render(:template => 'issues/index', :layout => !request.xhr?) }
102 format.html { render(:template => 'issues/index', :layout => !request.xhr?) }
103 format.any(:atom, :csv, :pdf) { render(:nothing => true) }
103 format.api { render_validation_errors(@query) }
104 format.api { render_validation_errors(@query) }
104 end
105 end
105 end
106 end
General Comments 0
You need to be logged in to leave comments. Login now