?
avatar tgv604
tgv604
8 Oct 2015

Steps to reproduce the issue

  • enable smart search & smart search module
  • index content so it's not empty
  • search for "$" (single dollar sign)

Expected result

some search results

Actual result

javascript loop resulting in massive memory leak and eventual browser crash

System information (as much as possible)

browser = firefox
OS = Win 10

Additional comments

avatar tgv604 tgv604 - open - 8 Oct 2015
avatar zero-24 zero-24 - change - 8 Oct 2015
Status New Confirmed
avatar zero-24
zero-24 - comment - 8 Oct 2015

I can confirm this behavior. Chorme on Win 7.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8034.

avatar Fedik
Fedik - comment - 8 Oct 2015

looks like here same problem,
it happen when just try to open the search page with $ search, eg: /search?q=%24

avatar dgt41
dgt41 - comment - 8 Oct 2015

Not quite a solution but to prevent the fatal error we can modify line 155 of /components/com_finder/controller.php to

        if (empty($this->query->search) || $this->query->search == '$')

Of course this way no results are sent back :)


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8034.

avatar alikon
alikon - comment - 14 Oct 2015

confirm issue with % char too
can we consider something like search as fatal error prevent solution ?

Search term must be a minimum of 3 characters and a maximum of 200 characters.

avatar dgt41
dgt41 - comment - 14 Oct 2015

Nicola, as far as I remember even a 3 char word like $do ends up with fatal error

avatar Fedik
Fedik - comment - 15 Oct 2015

please test #8097

avatar zero-24
zero-24 - comment - 15 Oct 2015

Closing as we have a pull thanks

avatar zero-24 zero-24 - change - 15 Oct 2015
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2015-10-15 16:06:18
Closed_By zero-24
avatar zero-24 zero-24 - close - 15 Oct 2015

Add a Comment

Login with GitHub to post a comment