b433e4c Bug 572162 - the string "|*" within a search filter on a non-indexed attribute returns all elements.

Authored and Committed by rmeggins 14 years ago
    Bug 572162 - the string "|*" within a search filter on a non-indexed attribute returns all elements.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=572162
    Resolves: bug 572162
    Bug Description: the string "|*" within a search filter on a non-indexed attribute returns all elements.
    Reviewed by: nhosoi (Thanks!)
    Branch: HEAD
    Fix Description: PCRE interprets the '|' character as the start of
    alternative branch.  In the search filter, the other side of the '|' is
    empty, which means match everything.  The solution is to escape this and
    other PCRE special chars before matching.
    Platforms tested: RHEL5 x86_64
    Flag Day: no
    Doc impact: no