From: Teryk Bellahsene Date: Tue, 29 Sep 2015 13:50:01 +0000 (+0200) Subject: Fix revert of WS rerouting batch/* -> scanner/* X-Git-Tag: 5.2-RC1~155 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5a4c2cce22e3d692b6d797e48ede465fdcb384c5;p=sonarqube.git Fix revert of WS rerouting batch/* -> scanner/* --- 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