? ? ? Pending

User tests: Successful: Unsuccessful:

avatar Quy
Quy
11 Jul 2021

Summary of Changes

Add icon to indicate link is external.

Testing Instructions

Go to Post Installation Messages
See links with external icon.

avatar Quy Quy - open - 11 Jul 2021
avatar Quy Quy - change - 11 Jul 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jul 2021
Category Administration Language & Strings
avatar Quy Quy - change - 11 Jul 2021
Title
[4.0] Add target _blank
[4.0] Add target _blank to display icon link as external
avatar Quy Quy - edited - 11 Jul 2021
avatar brianteeman
brianteeman - comment - 11 Jul 2021

if you're going to change it then you also need to add the noreferrer stuff

avatar Quy Quy - change - 12 Jul 2021
Labels Added: ? ?
avatar hans2103 hans2103 - test_item - 12 Jul 2021 - Tested successfully
avatar hans2103
hans2103 - comment - 12 Jul 2021

I have tested this item successfully on f0adaa8


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34760.

avatar sandewt sandewt - test_item - 12 Jul 2021 - Tested successfully
avatar sandewt
sandewt - comment - 12 Jul 2021

I have tested this item successfully on f0adaa8


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34760.

avatar sandewt
sandewt - comment - 12 Jul 2021

34760

Oops, missing here: noopener noreferrer

<a href="https://en.wikipedia.org/wiki/Google_Authenticator" target="_blank">Google Authenticator</a>

avatar hans2103
hans2103 - comment - 12 Jul 2021

34760

Oops, missing here: noopener noreferrer

<a href="https://en.wikipedia.org/wiki/Google_Authenticator" target="_blank">Google Authenticator</a>

out of scope for this PR.
Language string for this post-install message comes from plg_system_httpheaders.ini

PLG_SYSTEM_HTTPHEADERS_POSTINSTALL_INTRODUCTION_BODY="<p>Joomla! comes with a built-in set of tools that help you to handle http security headers. These headers help your browser for example to protect your website from <a href='https://en.wikipedia.org/wiki/Cross-site_scripting' target='_blank' rel='noopener noreferrer'>XSS</a> and <a href='https://en.wikipedia.org/wiki/Clickjacking' target='_blank' rel='noopener noreferrer'>Clickjacking</a> attacks.</p><p>You can find more details in the <a href='https://docs.joomla.org/Special:MyLanguage/J4.x:Http_Header_Management' target='_blank' rel='noopener noreferrer'>HTTP Header Management Tutorial in the Joomla! Documentation.</a></p>"

And already contains noopener noreferrer

avatar sandewt
sandewt - comment - 12 Jul 2021

out of scope for this PR.

I agree.

I see that this problem also occurs with the external links under the help function.

34760-2

avatar sandewt
sandewt - comment - 12 Jul 2021

And already contains noopener noreferrer

I agree, apparently something went wrong for me when I upgraded to J 4.0.0-rc3 !?

avatar richard67
richard67 - comment - 12 Jul 2021

I agree, apparently something went wrong for me when I upgraded to J 4.0.0-rc3 !?

@sandewt So is your successful test still valid or not?

avatar richard67 richard67 - test_item - 12 Jul 2021 - Tested successfully
avatar richard67
richard67 - comment - 12 Jul 2021

I have tested this item successfully on f0adaa8


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34760.

avatar richard67 richard67 - change - 12 Jul 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 12 Jul 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34760.

avatar sandewt
sandewt - comment - 12 Jul 2021

@hans2103 / @richard67

It concerns the plg_twofactorauth_totp.ini and NOT the plg_system_httpheaders.ini

See: missing noopener noreferrer

PLG_TWOFACTORAUTH_TOTP_POSTINSTALL_BODY="<p>Joomla! comes with a built-in two factor authentication system. It secures your site login with a secondary secret code that's changing every 30 seconds. You can use your mobile device and the <a href=\"https://en.wikipedia.org/wiki/Google_Authenticator\" target=\"_blank\">Google Authenticator</a> app to produce that code.</p><p>By selecting the button below:</p><ul><li>Joomla! will enable the two factor authentication plugins</li><li>Two Factor Authentication is going to be available for all users.</li><li>Each user can configure Two Factor Authentication in User Details.</li><li>You can always disable Two Factor Authentication plugin, or configure it for Backend usage only.</li><li>You will be taken to your user profile page where you can find more information on two factor authentication and enable it for your user account.</li></ul>"

out of scope for this PR.

So I think, this is not out of the scope

@sandewt So is your successful test still valid or not?

NO

avatar richard67
richard67 - comment - 12 Jul 2021

See: missing noopener noreferrer

PLG_TWOFACTORAUTH_TOTP_POSTINSTALL_BODY="<p>Joomla! comes with a built-in two factor authentication system. It secures your site login with a secondary secret code that's changing every 30 seconds. You can use your mobile device and the <a href=\"https://en.wikipedia.org/wiki/Google_Authenticator\" target=\"_blank\">Google Authenticator</a> app to produce that code.</p><p>By selecting the button below:</p><ul><li>Joomla! will enable the two factor authentication plugins</li><li>Two Factor Authentication is going to be available for all users.</li><li>Each user can configure Two Factor Authentication in User Details.</li><li>You can always disable Two Factor Authentication plugin, or configure it for Backend usage only.</li><li>You will be taken to your user profile page where you can find more information on two factor authentication and enable it for your user account.</li></ul>"

out of scope for this PR.

So I think, this is not out of the scope

@sandewt So is your successful test still valid or not?

NO

@Quy Should we fix this in staging or here?

avatar hans2103
hans2103 - comment - 12 Jul 2021

Created a PR in this PR
Because discussing about it takes more time than fixing it.
Quy#3

avatar sandewt
sandewt - comment - 12 Jul 2021

Because discussing about it takes more time than fixing it.

?

avatar richard67
richard67 - comment - 12 Jul 2021

Well I had noticed that but I thought the reason why it has not been made in this PR was because it should be fixed in staging.

avatar brianteeman
brianteeman - comment - 12 Jul 2021

With the language string freeze tomorrow it will need to happen here

avatar Quy Quy - change - 12 Jul 2021
Labels Added: ?
avatar Quy
Quy - comment - 12 Jul 2021

#24337 discusses this issue globally for J4.

@HLeithner will have to decide if for J3.

avatar richard67 richard67 - test_item - 12 Jul 2021 - Tested successfully
avatar richard67
richard67 - comment - 12 Jul 2021

I have tested this item successfully on 96cb627


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34760.

avatar richard67
richard67 - comment - 12 Jul 2021

@hans2103 Could you test again? Thanks in advance.

avatar hans2103 hans2103 - test_item - 12 Jul 2021 - Tested successfully
avatar hans2103
hans2103 - comment - 12 Jul 2021

I have tested this item successfully on 96cb627


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34760.

avatar richard67
richard67 - comment - 12 Jul 2021

2 good tests, so RTC is valid again.

avatar zero-24 zero-24 - change - 12 Jul 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-07-12 16:17:45
Closed_By zero-24
Labels Added: ?
Removed: ?
avatar zero-24 zero-24 - close - 12 Jul 2021
avatar zero-24 zero-24 - merge - 12 Jul 2021
avatar zero-24
zero-24 - comment - 12 Jul 2021

Merging

avatar HLeithner
HLeithner - comment - 12 Jul 2021

#24337 discusses this issue globally for J4.

@HLeithner will have to decide if for J3.

+1

avatar sandewt
sandewt - comment - 12 Jul 2021

See: missing noopener noreferrer (occurs twice)

<a href=\"https://freeotp.github.io/\" target=\"_blank\">FreeOTP</a>

https://github.com/Quy/joomla-cms/blob/96cb627464c0f415b42c8fd4187451c45122062e/administrator/language/en-GB/plg_twofactorauth_totp.ini#L24

@Quy

[EDIT]

avatar Quy
Quy - comment - 15 Jul 2021

@sandewt This PR fixed only external links in the Post Installation Messages page. There are other instances like the ones you mentioned to be fixed in a separate PR to address #24337.

avatar sandewt
sandewt - comment - 15 Jul 2021

@Quy , thanks for your explanation.

Add a Comment

Login with GitHub to post a comment