2

Sitecore 8.2 update 4

We've been editing some pages, and noticing that rel="noopener noreferrer" get's added into text. I understand that, it's good to have it added to _blank links. But it's being auto-added in text blocks as well when editing.

Ex- I open an RTE field and add new link using "HyperLink Manager" and choose target as a blank. Now save the item and again open RTE field what it did that it added a rel="noopener noreferrer" on link, as well as on above text that is in RTE. enter image description here

I found a property in Sitecore.config called "ProtectExternalLinksWithBlankTarget" by disabling this "noopener noreferrer" feature is disabled but is there any other way to use this feature correctly.

4

You should leave it as is.

target="_blank" is a security vulnerability. In previous versions, you had to fix this yourself but in Sitecore 8.2 onwards, this is the default behaviour.

More information here: Adding rel=”noopener” to Sitecore

Edited to add: Your clarified behaviour, however, is clearly a bug and should be taken to Sitecore Support.

  • Did you get anything from Sitecore regarding this? – Ethan Schofer Feb 17 '18 at 15:40
3

This is a known bug.I raised a ticket to Sitecore support and they replied that it is a bug and it already resolved in Sitecore 8.2 update 6

So you have two choices here -

  1. Upgrade your solution on Sitecore 8.2 update 6 or
  2. Raised a support ticket on Sitecore support portal and they will provide you the fix/patch.
  • Remember to update answer with the patch number once received. – jrap Feb 19 '18 at 16:24
  • we have sitecore 9.0 and issue is still there. – Simone May 22 '18 at 8:38
  • Can you please share patch number or bug number so we can get the patch from Sitecore? – Nirlep Jun 19 '18 at 14:30
  • Yes, @simone it is also a bug in Sitecore 9 initial release – Ravindra S. Rathore Jun 21 '18 at 12:10
  • 1
    @Nirlep The bug number is 175841 – Ravindra S. Rathore Jun 21 '18 at 12:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.