diff --git a/app/controllers/iqdb_queries_controller.rb b/app/controllers/iqdb_queries_controller.rb index 4fa85fcfe..00127d0c4 100644 --- a/app/controllers/iqdb_queries_controller.rb +++ b/app/controllers/iqdb_queries_controller.rb @@ -11,6 +11,8 @@ class IqdbQueriesController < ApplicationController create_by_url elsif params[:post_id] create_by_post + else + render :nothing => true, :status => 422 end end diff --git a/public/robots.txt b/public/robots.txt index 93b502668..65d250f6b 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -11,6 +11,7 @@ Disallow: /counts Disallow: /delayed_jobs Disallow: /dmails Disallow: /favorite +Disallow: /iqdb_queries Disallow: /ip_bans Disallow: /janitor_trials Disallow: /maintenance