We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5811
    • 1,717 Posts
    The release 1.8.5 of AjaxSearch is now available in the MODx repository. This release is provided with Evolution 1.0.3 but runs also with MODx 1.0.2

    You can download it from this page.

    This release includes the version 1.5.0 of the plugin searchHighlight and the version 1.5.0 of the plugin advSearchHighlight
    These releases fix XSS possibilities with the previous releases and an issue for CentOS users (AJAXSEARCH-57).

    All the template files have been saved with an utf-8 (without BOM) format, to avoid problems of unwanted characters found with the release 1.8.4

    To avoid the problem of the pcre_backtrack limit, which limits the volume of code parsed with Phx, the pcre backtrack limit is increased at the beginning of the script. This update seems is valid only for Php > 5.2. For this reason, I have also optimized the code to reduce the parsing of search results.
    Should solve AJAXSEARCH-20 issue

    For these reasons, I strongly recommend to update your AjaxSearch release. Or better, upgrade to Evolution 1.0.3 !


    The overall list of issues fixed with the 1.8.5 is the following:

    AJAXSEARCH-50 : Filter returns all records when it should return nothing

    AJAXSEARCH-57 : CentOS - ajaxsearch 1.8.4 fails with a preg_replace() - lookbehind assertion

    AJAXSEARCH-58 : Remove possibility of XSS attempts being passed in the URL of advSearch_Highlight and Search_Highlight plugins (JVN #46669729)

    AJAXSEARCH-43 : Unable to get custom tv content (i.e. image link or other text) in template chunk


    And the Icelandic and Indonesian language files have been added.