Closed aario closed 5 years ago
@aario , thank you for youre port. Can you please let us know
Magento 2 CE 2.3.0
MageFan Module-Blog 2.8.7.1
Thank you for your contribution. We will release a new version ASAP (think tomorrow).
v2.8.8 with this fix is already available via the composer https://packagist.org/packages/magefan/module-blog
Magento 2 Blog Extension on our website will be updated soon.
Try navigating to: http://127.0.0.1/index.php/blog/search/%22 (Putting a
"
as the only search term, the resulting sql query hasAGAINST ("""
with three"
and the second one is the one from search term (You can imagine other tricks as well), and so you get:This is because the search term is directly concatenated into SQL query in
Model/ResourceModel/Post/Collection.php::addSearchFilter
:Magento also directly concatenates
$term
into rest of the query and the resulting exception happens.