Skip to content

Commit 9b52cc7

Browse files
authored
Merge pull request #441 from jhipster/securityhotspots
Sonar: Fix 'Make sure not using rel=noopener is safe here'
2 parents cd0346d + 7933145 commit 9b52cc7

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

src/main/webapp/app/home/azure-generator/azure-generator.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<div class="col-md-12">
44
<div class="alert alert-info" role="alert">
55
<p>Generated applications can be deployed on <a href="https://azure.microsoft.com/products/container-apps/" target="_blank">Azure Container Apps</a> in a few easy steps, please refer to the readme file in the generated project for the deployment guide.</p>
6-
<p>Detailed documentation is also available <a href="https://learn.microsoft.com/azure/container-apps" target="_blank">here</a>.</p>
6+
<p>Detailed documentation is also available <a href="https://learn.microsoft.com/azure/container-apps" target="_blank" rel="noopener">here</a>.</p>
77
</div>
88
</div>
99
<div class="col-md-12">
1010
<p>
1111
Provision your Azure Resources using NubesGen<br>
12-
<a href="https://nubesgen.com" target="_blank">https://nubesgen.com</a>
12+
<a href="https://nubesgen.com" target="_blank" rel="noopener">https://nubesgen.com</a>
1313
</p>
1414
<div class="alert alert-warning" role="alert">
1515
<p>Please note that the current version of this form only supports the following selections within NubesGen:</p>

src/main/webapp/app/home/ci-cd/ci-cd.output.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ <h4 class="modal-title">
2222
<div class="lead">
2323
<b>Continuous Integration configured!</b>
2424
<ul>
25-
<li>Merge the Pull Request at <a href="{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/pulls" target="_blank">{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/pulls</a></li>
26-
<li>Open your GitHub branch at <a href="{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-{{ciCdTool}}-{{ciCdId}}" target="_blank">{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-{{ciCdTool}}-{{ciCdId}}</a></li>
25+
<li>Merge the Pull Request at <a href="{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/pulls" target="_blank" rel="noopener">{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/pulls</a></li>
26+
<li>Open your GitHub branch at <a href="{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-{{ciCdTool}}-{{ciCdId}}" target="_blank" rel="noopener">{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-{{ciCdTool}}-{{ciCdId}}</a></li>
2727
</ul>
2828
</div>
2929
</div>
@@ -33,8 +33,8 @@ <h4 class="modal-title">
3333
<div class="lead">
3434
<b>Continuous Integration configured!</b>
3535
<ul>
36-
<li>Merge the Merge Request at <a href="{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/merge_requests" target="_blank">{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/merge_requests</a></li>
37-
<li>Open your GitLab branch at <a href="{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-{{ciCdTool}}-{{ciCdId}}" target="_blank">{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-{{ciCdTool}}-{{ciCdId}}</a></li>
36+
<li>Merge the Merge Request at <a href="{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/merge_requests" target="_blank" rel="noopener">{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/merge_requests</a></li>
37+
<li>Open your GitLab branch at <a href="{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-{{ciCdTool}}-{{ciCdId}}" target="_blank" rel="noopener">{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-{{ciCdTool}}-{{ciCdId}}</a></li>
3838
</ul>
3939
</div>
4040
</div>

src/main/webapp/app/home/generator/generator.output.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ <h4 class="modal-title">
2020
<div class="row" *ngIf="displayApplicationUrl && githubConfigured && selectedGitProvider === 'GitHub'">
2121
<div class="col-md-12">
2222
<div class="lead">
23-
<b>Application generated!</b><br/>Open your GitHub repository at <a href="{{githubHost}}/{{selectedGitCompany}}/{{repositoryName}}" target="_blank">{{githubHost}}/{{selectedGitCompany}}/{{repositoryName}}</a>
23+
<b>Application generated!</b><br/>Open your GitHub repository at <a href="{{githubHost}}/{{selectedGitCompany}}/{{repositoryName}}" target="_blank" rel="noopener">{{githubHost}}/{{selectedGitCompany}}/{{repositoryName}}</a>
2424
</div>
2525
</div>
2626
</div>
2727
<div class="row" *ngIf="displayApplicationUrl && gitlabConfigured && selectedGitProvider === 'GitLab'">
2828
<div class="col-md-12">
2929
<div class="lead">
3030

31-
<b>Application generated!</b><br/>Open your GitLab repository at <a href="{{gitlabHost}}/{{selectedGitCompany}}/{{repositoryName}}" target="_blank">{{gitlabHost}}/{{selectedGitCompany}}/{{repositoryName}}</a>
31+
<b>Application generated!</b><br/>Open your GitLab repository at <a href="{{gitlabHost}}/{{selectedGitCompany}}/{{repositoryName}}" target="_blank" rel="noopener">{{gitlabHost}}/{{selectedGitCompany}}/{{repositoryName}}</a>
3232
</div>
3333
</div>
3434
</div>

src/main/webapp/app/home/jdl-metadata/jdl.output.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ <h4 class="modal-title">
2222
<div class="lead">
2323
<b>JDL Model applied!</b>
2424
<ul>
25-
<li>Merge the Pull Request at <a href="{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/pulls" target="_blank">{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/pulls</a></li>
26-
<li>Open your GitHub branch at <a href="{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-entities-{{applyJdlId}}" target="_blank">{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-entities-{{applyJdlId}}</a></li>
25+
<li>Merge the Pull Request at <a href="{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/pulls" target="_blank" rel="noopener">{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/pulls</a></li>
26+
<li>Open your GitHub branch at <a href="{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-entities-{{applyJdlId}}" target="_blank" rel="noopener">{{githubHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-entities-{{applyJdlId}}</a></li>
2727
</ul>
2828
</div>
2929
</div>
@@ -33,8 +33,8 @@ <h4 class="modal-title">
3333
<div class="lead">
3434
<b>JDL Model applied!</b>
3535
<ul>
36-
<li>Merge the Merge Request at <a href="{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/merge_requests" target="_blank">{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/merge_requests</a></li>
37-
<li>Open your GitLab branch at <a href="{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-entities-{{applyJdlId}}" target="_blank">{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-entities-{{applyJdlId}}</a></li>
36+
<li>Merge the Merge Request at <a href="{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/merge_requests" target="_blank" rel="noopener">{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/merge_requests</a></li>
37+
<li>Open your GitLab branch at <a href="{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-entities-{{applyJdlId}}" target="_blank" rel="noopener">{{gitlabHost}}/{{selectedGitCompany}}/{{selectedGitRepository}}/tree/jhipster-entities-{{applyJdlId}}</a></li>
3838
</ul>
3939
</div>
4040
</div>

0 commit comments

Comments
 (0)