User tests: Successful: Unsuccessful:
escape handles single quote. No need to double escaping with addslashes.
Code review.
or
Add an article with the title Who's Online.
In list view, view page source.
Search for Edit Who\'s Online
title="Edit Who's Online"
title="Edit Who\'s Online">
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_associations com_banners com_categories com_contact com_content com_fields com_languages com_menus com_modules com_newsfeeds com_plugins com_tags com_templates com_users com_workflow |
These 2 are different from the other ones so let's do it a different PR.
OK.
I have tested this item
I have tested this item
| Status | Pending | ⇒ | Ready to Commit |
RTC
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-06-08 06:54:05 |
| Closed_By | ⇒ | infograf768 | |
| Labels |
Added:
?
|
||
Tks.
@Quy I found 2 places where there still is "escape(addslashes" when your PR is applied, both in modals:
<?php echo $this->escape(addslashes($item->title)); ?><?php echo $this->escape(addslashes($item->name)); ?>Shouldn't these be changed, too? If so, will you do that with this PR or make a new one?