Uploaded image for project: 'Providence'
  1. PROV-1351

LabelableBaseModelWithAttributes::find() and BaseModel::find() fail when searching on text values with &, < or >

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 1.5
    • Fix versions: 1.5.1
    • Components: Core Libraries
    • Labels:
      None

      Description

      LabelableBaseModelWithAttributes::find() and BaseModel::find() fail when searching on text values with &, < or > and HTML purifier is in use to filter incoming data. Since HTML purifier is now on by default this is a significant issue for the importer which uses *::find() extensively.

      *::find() fails because HTML purifier encodes <, > and & as html entities before they are saved in the db. Thus when one is looking for "Sound & Motion" the db query must be for "Sound &amp; Motion"

        Attachments

          Activity

            People

            • Assignee:
              Former user (Inactive)
              Reporter:
              Former user (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: