Skip to content

Protect against rouge asterisks #3

@DuncanWilder

Description

@DuncanWilder

An asterisk at the end of a phrase ("security engin"*) will cause MySQL to throw an error

An asterisk by itself (this AND * AND that) will cause MySQL to throw an error

Proposed solution:
Merge asterisk against last word if not an operator

this * AND that => this* AND that

Otherwise, remove the asterisk altogether
this AND * AND that => this AND AND that

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions