User tests: Successful: Unsuccessful:
Pull Request for Issue #16812
This is minimalist version of my previous PR #16875
>
characterNotice: A non well formed numeric value encountered in .../libraries/joomla/filter/input.php on line 1202 divHello "Joomla"
tested as:
$_REQUEST['test'] = '<div>Hello "Joomla"</div>';
echo JFactory::getApplication()->input->getString('test', '');
Add in your template index.php a php code like:
$_REQUEST['test'] = '<div>Hello "Joomla"</div>';
echo JFactory::getApplication()->input->getString('test', '');
and
$_REQUEST['test'] = 'Menu > Modules';
echo JFactory::getApplication()->input->getString('test', '');
Input methods getString()
or getHtml()
does not remove alone >
.
There is no PHP Notice
mentioned above.
Input methods getString()
or getHtml()
removes >
and this is B/C break.
PHP Notice
mentioned above exists.
No
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries Unit Tests |
some tests would be good
I tested this item successfully.
The > is preserved as in 3.7.2. It's still stripping the < char, but this can be left for 3.7.4 and deeper analysis. This PR at least preserve the current 3.7.2 behavior.
@joeforjoomla i altered your Test as successfully at Issue Tracker.
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-03 07:30:38 |
Closed_By | ⇒ | rdeutz |
Any update on this? Is this issue going to be merged and fixed before the release of 3.7.3?