RTC PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar SniperSister
SniperSister
19 Dec 2024

Pull Request for Issue #43749

Summary of Changes

Mail addresses in results in com_finder are currently uncloaked, as they are not passed through the OnContentPrepare event.

This PR adds an event handler for the finder results to the cloaking plugin and ensures that the content plugin group is loaded by com_finder.

Testing Instructions

  • Create an article with a searchword, following a a mail address
  • Search for the word in com_finder
  • Inspect the result using your browser dev tools

Actual result BEFORE applying this Pull Request

Mail address in uncloaked.

Expected result AFTER applying this Pull Request

Mail address is cloaked.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • [ x] No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • [x ] No documentation changes for manual.joomla.org needed

avatar SniperSister SniperSister - open - 19 Dec 2024
avatar SniperSister SniperSister - change - 19 Dec 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Dec 2024
Category Front End com_finder Plugins
avatar SniperSister SniperSister - change - 19 Dec 2024
Title
Apply mail cloaking in finder results
[5.3] Apply mail cloaking in finder results
avatar SniperSister SniperSister - edited - 19 Dec 2024
avatar brianteeman
brianteeman - comment - 19 Dec 2024

Is it a good idea to import ALL content plugins. Shouldn't it just be the mailcloak plugin

avatar SniperSister SniperSister - change - 19 Dec 2024
Labels Added: PR-5.3-dev
avatar SniperSister
SniperSister - comment - 19 Dec 2024

Fair comment. Updated as suggested.

avatar ChristineWk
ChristineWk - comment - 19 Dec 2024

After this: Inspect the result using your browser dev tools I got this result:
pr44641

avatar ChristineWk ChristineWk - test_item - 19 Dec 2024 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 19 Dec 2024

I have tested this item ✅ successfully on 1c40e08


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

avatar fgsw fgsw - test_item - 20 Dec 2024 - Tested successfully
avatar fgsw
fgsw - comment - 20 Dec 2024

I have tested this item ✅ successfully on 1c40e08

Test by using Prebuilt package.


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

avatar alikon alikon - change - 20 Dec 2024
Status Pending Ready to Commit
avatar alikon
alikon - comment - 20 Dec 2024

RTC


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

avatar SniperSister SniperSister - change - 20 Dec 2024
Labels Added: RTC
avatar SniperSister
SniperSister - comment - 20 Dec 2024

The last commit includes more plugins and is irrelevant for the test results, It would suggest to restore the 2 successful tests.

avatar rdeutz rdeutz - change - 7 Jan 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-01-07 09:59:57
Closed_By rdeutz
avatar rdeutz rdeutz - close - 7 Jan 2025
avatar rdeutz rdeutz - merge - 7 Jan 2025
avatar rdeutz
rdeutz - comment - 7 Jan 2025

Thanks

Add a Comment

Login with GitHub to post a comment