From 5a4c2cce22e3d692b6d797e48ede465fdcb384c5 Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Tue, 29 Sep 2015 15:50:01 +0200 Subject: [PATCH] Fix revert of WS rerouting batch/* -> scanner/* --- .../webapp/WEB-INF/app/controllers/api/java_ws_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb index 1855d30d915..7ee7e580709 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb @@ -49,7 +49,7 @@ class Api::JavaWsController < Api::ApiController def skip_authentication_check_for_batch - (params[:wspath]=='scanner' && params[:wsaction]=='index') || (params[:wspath]=='scanner' && params[:wsaction]=='file') + (params[:wspath]=='batch' && params[:wsaction]=='index') || (params[:wspath]=='batch' && params[:wsaction]=='file') end end -- 2.39.5