Hi Sergey,
On Thu, 2021-10-14 at 18:16 +0300, Sergey Dorofeev wrote:
I have got issue with ListFiles page in mediawiki
1.35.1
text in middle of file name.
I looked in DB and saw that img_name column is varbinary, but
pagers/ImageListPager.php tries to do case-insensitive select with
LOWERing both sides of strings. But LOWER does not work for varbinary
So I think that following change will be reasonable:
Thanks for looking at the code! If you think that you found a software
bug, please feel free to report it in the issue tracker:
https://www.mediawiki.org/wiki/How_to_report_a_bug
Feel also very welcome to upload the patch into Gerrit for review:
https://www.mediawiki.org/wiki/Gerrit/Tutorial
Again, thanks a lot!
andre
--
Andre Klapper (he/him) | Bugwrangler / Developer Advocate
https://blogs.gnome.org/aklapper/