Filter with capital letter of Cyrillic alphabet

Fill out the following bug report template with as much detail as possible!


Issue Summary
filtering does not work, for example, by title or html, if the request contains a Cyrillic capital letter (and of course it is in the title/html)
I’m trying to filter out titles with text: “Кто есть кто”

This works in any case (“то есть” etc.), as long as there is no uppercase letter, if you replace it with a lowercase letter (“кто есть”), the result is also empty.

I use it the same way with @tryghost/content-api but it doesn’t matter.

http://localhost:3000/ghost/api/content/posts/?key=b8bb22f32ff9e2a67242bb2cba&filter=title:~'Кто есть'

Steps to Reproduce

  1. Create post with title: “Кто есть кто”
  2. Create request with filter by title “Кто есть”

Setup information

Ghost Version
Ghost version: 5.105.0

Node.js Version
v20.18.1

How did you install Ghost?
Provide some details about your install of Ghost if you are self-hosting.

docker FROM node:20-alpine

Provide details of your host & operating system
docker FROM node:20-alpine

Database type
SQLite 3

Browser & OS version

Relevant log / error output

INFO "GET /ghost/api/content/posts/?key=b8bb22f32ff9e2a67242bb2cba&filter=title:~%27%D0%9A%D1%82%D0%BE%20%D0%B5%D1%81%D1%82%D1%8C%27" 200 11ms