User tests: Successful: Unsuccessful:
On user-specified redirect after article saving in frontend, the code uses JRoute constructor to build url, but doing so it uses a default parameter that erroneously leads to encoding all the url query part, so converting '&' to ' & amp;' (entity, without space).
That is not correct and may lead to components error or malfunction, particularly in the case of third party components, as they could not be able to get Itemid param and all the other query params.
The same problematic default parameter is used in case of cancel and of edit error (same class, cancel and edit function), that redirects to return page (via getReturnPage).
Add 'false' as second parameter in four JRoute constructors calls
Create a menuitem to show list of articles of 'uncategorized' type
Create a menuitem to Submit New Article and specify a redirect after submit to previous menuitem.
Submit a new article
redirection to: index.php?option=com_content&view=category&id=mm&Itemid=nnn
redirection to: index.php?option=com_content& amp;view=category& amp;id=mm& amp;Itemid=nnn (entities, without spaces)
none
Category | ⇒ | Front End com_content |
Status | New | ⇒ | Pending |
I have tested this item
Tested the patch successfully in a clean build of 3.8 beta
Status | Pending | ⇒ | Ready to Commit |
RTC after two successful tests.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-13 15:41:18 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
I have tested this item✅ successfully on 3d67d50
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17494.