Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-12428

strtolower() in eZSearchLog::addPhrase gives error for special char for e.g. ÅØÆ

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 3.10.1, 3.9.5, 4.0.1, 4.1.0alpha1
    • 4.0.0
    • Search
    • None
    • Operating System:
      PHP Version: '5.2.x')
      Database and version:
      Browser (and version):

    Description

      eZ Publish 4.0.0 search gives error if search phrease contains any special charecters and it is because

      "addPhrase( $phrase, $returnCount )" function in "kernel/classes/ezsearchlog.php" contains strtolower() function
      which can not convert special charectors and due to that search fails.

      Steps to reproduce

      Type any phrease in search box which contains special charecters like åøæ and click on search button.

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            gv gv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: