Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
sonar.projectKey=Sonar_Qube_angular-sonar-analysis_AY7gw0GVW7X7lYOpqmMr
sonar.projectName=angular-sonar-analysis-from-github
sonar.organization=lucaslin-sonarsource-org
5 changes: 5 additions & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ export class AppComponent {
title = 'angular-sonar-analysis';
ip = "192.168.12.42"; // Sensitive
ip2 = "192.168.12.42"; // Sensitive
const queryParams = new URLSearchParams(document.location.search);
const redirectUrl = queryParams.get("url");
document.location = redirectUrl; // Noncompliant
document.location = document.location.hash.slice(1);

}
Loading
Loading