]> source.dussan.org Git - sonarqube.git/commitdiff
Fix revert of WS rerouting batch/* -> scanner/*
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Tue, 29 Sep 2015 13:50:01 +0000 (15:50 +0200)
committerDuarte Meneses <duarte.meneses@sonarsource.com>
Wed, 30 Sep 2015 14:28:08 +0000 (16:28 +0200)
server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb

index 1855d30d9155a79763fc4b0791ac91e082756628..7ee7e58070941d266cecdf74b25c1c7e25fdbc04 100644 (file)
@@ -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