Closed
Description
Preconditions (*)
- Magento 2.3.2-p2
- Single category with few products
Steps to reproduce (*)
- Go to Category page that has filters by price
- To the end of URL add
?price=-100%27[0]
, for instance https://example.com/my-category/?price=-100%27[0] - See logs
Expected result (*)
- We should not have error logs
- Layered navigation block should be shown
Actual result (*)
- We have following logs in system.log:
[2019-12-05 11:25:41] main.CRITICAL: Notice: A non well formed numeric value encountered in /var/www/magento2/vendor/magento/module-catalog-search/Model/Layer/Filter/Price.php on line 180 [] []
[2019-12-05 11:25:43] main.CRITICAL: The "catalog.leftnav" block threw an exception, and it can't be rendered. [] []
- Layered navigation block isn't shown
Note: this value isn't passed to DB, so no security issue there
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentIndicates that Pull Request has been created to fix issueThe issue has been reproduced on latest 2.4-develop branch