Missing "noopener noreferrer" for the quote header link
authorAlexander Ebert <ebert@woltlab.com>
Mon, 24 Jun 2019 14:07:25 +0000 (16:07 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 24 Jun 2019 14:07:25 +0000 (16:07 +0200)
com.woltlab.wcf/templates/quoteMetaCode.tpl

index f695da1f9a7808cdfc2b8a7a7471168d3427e1ce..5e0bd4e7faccd94ec369139365635c32c0ea490a 100644 (file)
@@ -11,7 +11,7 @@
                <span class="quoteBoxTitle">
                        {if $quoteAuthor}
                                {if $quoteLink}
-                                       <a href="{@$quoteLink}"{if $isExternalQuoteLink} class="externalURL"{if EXTERNAL_LINK_REL_NOFOLLOW} rel="nofollow"{/if}{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}{/if}>{lang}wcf.bbcode.quote.title{/lang}</a>
+                                       <a href="{@$quoteLink}"{if $isExternalQuoteLink} class="externalURL"{if EXTERNAL_LINK_REL_NOFOLLOW || EXTERNAL_LINK_TARGET_BLANK}rel="{if EXTERNAL_LINK_REL_NOFOLLOW}nofollow{/if} {if EXTERNAL_LINK_TARGET_BLANK}noopener noreferrer{/if}"{/if}{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}{/if}>{lang}wcf.bbcode.quote.title{/lang}</a>
                                {else}
                                        {lang}wcf.bbcode.quote.title{/lang}
                                {/if}