Open E5rael opened 1 year ago
Line 116 in lib/ProviderHandler/Provider.php is responsible for that behaviour
$term = preg_replace('/[^a-z]/i','', $term);
does not only affect umlauts, but basically any character that is not in the range U+0061 to U+007A (standard latin lowercase letters)
I also tried adding cyrillic tags, such as Москва, and it seemed to work.
that's because it results in an empty search string, so you just got a completely random image, not necessarily with any relation to moscow
I'm taking the comment line // only allow letters as searchterm
as that it was a design choice with a rationale.
Describe the bug: Images containing umlaut characters (e.g. Ä or Ö) in their tags aren't displaying.
To Reproduce: Steps to reproduce the behavior:
Expected behavior: Images containing these tags should appear.
Server:
Additional Information: