We're updating the issue view to help you get more done. 

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

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"

Environment

None

Assignee

User known

Reporter

User known

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure