RTC PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar heelc29
heelc29
3 Jan 2024

Summary of Changes

check if $_SERVER['HTTP_REFERER'] is valid before call Uri::isInternal()

Testing Instructions

  • login as super user in backend
  • visit https://example.tl/administrator/index.php?option=com_admin&view=sysinfo&format=text (note: link is without token!)
  • check php warnings (PHP >= 8.1 required)

Actual result BEFORE applying this Pull Request

PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in libraries/src/Uri/Uri.php on line 243

Expected result AFTER applying this Pull Request

No deprecation warning

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed
  • No documentation changes for manual.joomla.org needed
avatar heelc29 heelc29 - open - 3 Jan 2024
avatar heelc29 heelc29 - change - 3 Jan 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jan 2024
Category Libraries
avatar Quy Quy - test_item - 4 Jan 2024 - Tested successfully
avatar Quy
Quy - comment - 4 Jan 2024

I have tested this item ✅ successfully on 432c681


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

avatar viocassel viocassel - test_item - 8 Jan 2024 - Tested successfully
avatar viocassel
viocassel - comment - 8 Jan 2024

I have tested this item ✅ successfully on 432c681


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

avatar alikon alikon - change - 8 Jan 2024
Status Pending Ready to Commit
avatar alikon
alikon - comment - 8 Jan 2024

RTC


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

avatar MacJoom MacJoom - change - 10 Jan 2024
Labels Added: RTC PR-4.4-dev
avatar MacJoom MacJoom - close - 10 Jan 2024
avatar MacJoom MacJoom - merge - 10 Jan 2024
avatar MacJoom MacJoom - change - 10 Jan 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-01-10 11:48:34
Closed_By MacJoom

Add a Comment

Login with GitHub to post a comment