KEYCLOAK-19467 Add noopener/noreferrer to links
This commit is contained in:
parent
01a0e11c8f
commit
12157bb66c
3 changed files with 4 additions and 4 deletions
|
@ -49,7 +49,7 @@
|
|||
<td><a href="#/realms/{{realm.realm}}/clients/{{client.id}}">{{client.clientId}}</a></td>
|
||||
<td translate="{{client.enabled}}"></td>
|
||||
<td ng-class="{'text-muted': !client.baseUrl}">
|
||||
<a href="{{client.rootUrl | resolveClientRootUrl}}{{client.baseUrl}}" target="_blank" data-ng-show="client.baseUrl">{{client.rootUrl | resolveClientRootUrl}}{{client.baseUrl}}</a>
|
||||
<a href="{{client.rootUrl | resolveClientRootUrl}}{{client.baseUrl}}" rel="noopener noreferrer" target="_blank" data-ng-show="client.baseUrl">{{client.rootUrl | resolveClientRootUrl}}{{client.baseUrl}}</a>
|
||||
<span data-ng-hide="client.baseUrl">{{:: 'not-defined' | translate}}</span>
|
||||
</td>
|
||||
<td class="kc-action-cell" kc-open="/realms/{{realm.realm}}/clients/{{client.id}}">{{:: 'edit' | translate}}</td>
|
||||
|
|
|
@ -66,9 +66,9 @@
|
|||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{{:: 'endpoints' | translate}}</label>
|
||||
<div class="col-md-6">
|
||||
<a class="form-control" ng-href="{{authServerUrl}}/realms/{{realm.realm}}/.well-known/openid-configuration" target="_blank">{{:: 'realm-detail.protocol-endpoints.oidc' | translate}}</a>
|
||||
<a class="form-control" ng-href="{{authServerUrl}}/realms/{{realm.realm}}/.well-known/openid-configuration" rel="noopener noreferrer" target="_blank">{{:: 'realm-detail.protocol-endpoints.oidc' | translate}}</a>
|
||||
|
||||
<a class="form-control" ng-href="{{authServerUrl}}/realms/{{realm.realm}}/protocol/saml/descriptor" target="_blank">{{:: 'realm-detail.protocol-endpoints.saml' | translate}}</a>
|
||||
<a class="form-control" ng-href="{{authServerUrl}}/realms/{{realm.realm}}/protocol/saml/descriptor" rel="noopener noreferrer" target="_blank">{{:: 'realm-detail.protocol-endpoints.saml' | translate}}</a>
|
||||
</div>
|
||||
<kc-tooltip>{{:: 'realm-detail.protocol-endpoints.tooltip' | translate}}</kc-tooltip>
|
||||
</div>
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
<div class="form-group" data-ng-show="!importFile && !newIdentityProvider">
|
||||
<label class="col-md-2 control-label">{{:: 'endpoints' | translate}}</label>
|
||||
<div class="col-md-6">
|
||||
<a class="form-control" ng-href="{{callbackUrl}}{{identityProvider.alias}}/endpoint/descriptor" target="_blank">{{:: 'identity-provider.saml.protocol-endpoints.saml' | translate}}</a>
|
||||
<a class="form-control" ng-href="{{callbackUrl}}{{identityProvider.alias}}/endpoint/descriptor" rel="noopener noreferrer" target="_blank">{{:: 'identity-provider.saml.protocol-endpoints.saml' | translate}}</a>
|
||||
</div>
|
||||
<kc-tooltip>{{:: 'identity-provider.saml.protocol-endpoints.saml.tooltip' | translate}}</kc-tooltip>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue