PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
9 Oct 2026

Pull Request resolves # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

when escaping the title of a feed we used two different styles

            // Strip html from feed item title
            $title = htmlspecialchars($row->title, ENT_QUOTES, 'UTF-8');
            $title = html_entity_decode($title, ENT_COMPAT, 'UTF-8');
                // Strip HTML from feed item title
                $title = $this->escape($item->core_title);
                $title = html_entity_decode($title, ENT_COMPAT, 'UTF-8');

$this->escape is a shorthand for htmlspecialchars, so both variants have the exact same effect- no security implications.

for code consistency this PR makes all 4 use the same codestyle `this->escape

Testing Instructions

code review

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar brianteeman brianteeman - open - 9 Oct 2026
avatar brianteeman brianteeman - change - 9 Oct 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Oct 2026
Category ⇒ Front End com_content Libraries
avatar brianteeman brianteeman - change - 9 Oct 2026
Status Pending ⇒ Closed
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-10-09 14:24:37
Closed_By ⇒ brianteeman
Labels Added: PR-6.2-dev
avatar brianteeman brianteeman - close - 9 Oct 2026

Add a Comment

Login with GitHub to post a comment