diff --git a/module/sonarqube/control.php b/module/sonarqube/control.php index 9baceb72de..89da1b558e 100644 --- a/module/sonarqube/control.php +++ b/module/sonarqube/control.php @@ -189,7 +189,9 @@ class sonarqube extends control { if($confirm != 'yes') die(js::confirm($this->lang->sonarqube->confirmDeleteProject, inlink('deleteProject', "sonarqubeID=$sonarqubeID&projectKey=$projectKey&confirm=yes"))); - $reponse = $this->sonarqube->apiDeleteProject($sonarqubeID, $projectKey); + /* Fix error when request type is PATH_INFO and the tag name contains '-'.*/ + $projectKey = str_replace('*', '-', $projectKey); + $reponse = $this->sonarqube->apiDeleteProject($sonarqubeID, $projectKey); if(isset($reponse->errors)) return print(js::alert($reponse->errors[0]->msg)); diff --git a/module/sonarqube/view/browseproject.html.php b/module/sonarqube/view/browseproject.html.php index e53afcd5b8..bd18482b39 100644 --- a/module/sonarqube/view/browseproject.html.php +++ b/module/sonarqube/view/browseproject.html.php @@ -58,7 +58,9 @@