Browse Source

trim request spaces

yggdrasil-0.4.7
ghost 1 year ago
parent
commit
186f204448
  1. 1
      src/library/sphinxql.php

1
src/library/sphinxql.php

@ -49,6 +49,7 @@ class SphinxQL {
private static function _match(string $keyword) : string { private static function _match(string $keyword) : string {
$keyword = trim($keyword);
$keyword = preg_replace('/[\:]+/', ':', $keyword); $keyword = preg_replace('/[\:]+/', ':', $keyword);
return sprintf( return sprintf(

Loading…
Cancel
Save