Closed (fixed)
Project:
External Links
Version:
8.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2020 at 09:13 UTC
Updated:
1 Jul 2020 at 16:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
wmschram commentedComment #3
wmschram commentedComment #4
wmschram commentedComment #5
neslee canil pintoComment #6
wmschram commentedHi Neslee,
Not sure how you're unable to reproduce this.
The issue is that the setting it's looking for does not exist, causing it to return null.
https://git.drupalcode.org/project/extlink/-/blob/8.x-1.x/extlink.module...
It can be seen here in the original commit that the setting should have been extlink_noreferrer and not extNoreferrer, as defined in the same commit. So it will never have worked in the 8.1.x branch.
https://git.drupalcode.org/project/extlink/-/commit/decadb1a7daf71845e62...
Checking Tag external links as "noreferrer" will not work and will only add 'noopener' and not 'noopener noreferrer'.
I have already checked localy on my own machine by changing it to 'extlink_noreferrer' at that point it works. It's a valid bug.
Comment #7
wmschram commentedReopened based on previous comment.
Comment #8
sahana _n commentedPlease review the patch.
Comment #10
wmschram commentedThe patch fixes the issue.
Comment #11
neslee canil pintoTests are failing, needs to fix the tests.
Comment #12
oknateThis will fix the tests. The issue is that
extlink_noreferrer: trueby default, so rel will contain 'noreferrer' on top of 'follow' or 'unfollow', unless turned off.Comment #14
neslee canil pinto