User tests: Successful: Unsuccessful:
Pull Request for Issue #43069.
When the site runs in the root of the domain and the path is empty, because the URL is entirely query parameters, the slash to make the URL relative to the root folder is removed, resulting in the URL becoming relative to the current URL. This PR makes an exception for this special case.
Either no modal is displayed or an error page is shown instead. (When the article is alternatively the homepage, the URL is completely empty, resulting in a JS error.)
The preview is properly displayed.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
I have tested this item ✅ successfully on 9948625
I've replicated the issue as described in #43069 and tested the patch in various scenarios:
The patch worked in all scenarios.
I have tested this item ✅ successfully on 9948625
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
PR-5.1-dev
|
RTC
Labels |
Added:
RTC
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-03-18 20:18:53 |
Closed_By | ⇒ | LadySolveig |
Thank you @Hackwar and also for testing and review @SniperSister @viocassel
These test instructions are not enough to replicate the problem and therefore test the fix