JRequest::getInt returns a string instead of a integer when magic_quotes is on.
cause of issue https://github.com/joomla/joomla-cms/blob/master/libraries/joomla/environment/request.php#L155 , don't know if JInput is also affected by this bug.
2.5 support magic_quotes so this should be fixed at least until 3.0 is released.
Right, just saying it's not an issue for JInput.
ok, I misunderstood your comment.
Should I make a pull request on this repository or on the plataform repository?
Make a pull request against the 2.5.x branch, master and platform don't need to support magic_quotes anymore.
And please open a Tracker on joomlacode with test instructions and cross reference here
Thanks for coding this, Jonnathan!
For anyone interested, here's the tracker item on JoomlaCode:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30859
The related item on the issue tracker has been closed
| Labels |
Added:
?
Removed: ? |
||
| Build | ⇒ | staging | |
JInput doesn't support magic_quotes so that's a non-issue.