You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting target="_blank" on anchor tags is unsafe unless used in
conjunction with rel="noopener".
This is a back-port of dd3afdc (#4789) to fix the problem in
version 2.x.
Signed-off-by: Miroslav Bajtoš <[email protected]>
{{#ifinfo.termsOfServiceUrl}}<divclass="info_tos"><atarget="_blank"href="{{{escapeinfo.termsOfServiceUrl}}}" data-sw-translate>Terms of service</a></div>{{/if}}
9
+
{{#ifinfo.termsOfServiceUrl}}<divclass="info_tos"><atarget="_blank"rel="noopener noreferrer"href="{{{escapeinfo.termsOfServiceUrl}}}" data-sw-translate>Terms of service</a></div>{{/if}}
10
10
{{#ifinfo.contact.name}}<div><divclass='info_name'style="display: inline" data-sw-translate>Created by </div> {{{escapeinfo.contact.name}}}</div>{{/if}}
11
-
{{#ifinfo.contact.url}}<divclass='info_url' data-sw-translate>See more at <ahref="{{{escapeinfo.contact.url}}}">{{{escapeinfo.contact.url}}}</a></div>{{/if}}
11
+
{{#ifinfo.contact.url}}<divclass='info_url' data-sw-translate>See more at <atarget="_blank"rel="noopener noreferrer"href="{{{escapeinfo.contact.url}}}">{{{escapeinfo.contact.url}}}</a></div>{{/if}}
12
12
{{#ifinfo.contact.email}}<divclass='info_email'><atarget="_parent"href="mailto:{{{escapeinfo.contact.email}}}?subject={{{escapeinfo.title}}}" data-sw-translate>Contact the developer</a></div>{{/if}}
0 commit comments