gkrid / dokuwiki-plugin-approve

GNU General Public License v2.0
4 stars 17 forks source link

Remove escape character from table query #37

Closed annda closed 4 years ago

annda commented 4 years ago

On some of our systems the table query returns no rows. When we execute the select query outside of PHP context, or without the ESCAPE definition, the result is as expected. This PR simply removes it from the query and ensures compatibility with more PHP/SQLite setups.

From what I see you do not really need to define the escape character at this point. Or am I missing something?

solewniczak commented 4 years ago

The GLOB operator fits here the best, since the "_" charter can be part of a namespace, while "*" cannot.