github new-usemame/Calibre-Web-NextGen v4.0.88
v4.0.88 — Metadata search finds books with apostrophes in the title

latest releases: v4.0.94, v4.0.93, v4.0.92...
3 hours ago

What's new

docker pull ghcr.io/new-usemame/calibre-web-nextgen:v4.0.88

(or :latest)

Apostrophes in titles no longer break metadata search

If you tried to fetch metadata for a book whose title has an apostrophe — At Winter's End, Don't Look Back, O'Reilly — most providers returned zero results. Same title without the apostrophe found the book on the first hit. The user-typed apostrophe was URL-encoded as %27, and the catalog indexes (Amazon, Google, Kobo, OpenLibrary, etc.) store the apostrophe-free form, so the query never matched.

Now: the title tokenizer strips apostrophe-class characters (ASCII, the two curly quotes typographic apps insert, the Hawaiian okina, backtick, acute accent) before encoding. Amazon's provider also routes its query through the same tokenizer — Amazon was previously the only provider passing the raw query straight into its URL. Verified in the metadata edit modal: book search for Alice's Adventures in Wonderland now hits provider URLs as Alices Adventures in Wonderland (no %27).

Bundled bonus fix: a long-latent regex bug where CJK quote characters (《》「」) lived outside the character class — they were a required literal suffix that never matched, silently disabling colon/semicolon token splitting too. That bracket is fixed now.

Credits

Reporter @sjthespian — the At Winter's End repro on a Humble Bundle Silverberg purchase.

Don't miss a new Calibre-Web-NextGen release

NewReleases is sending notifications on new releases.