Skip to content

Enable comma in filenames#13985

Merged
Frenzie merged 2 commits into
koreader:masterfrom
hius07:fimename-comma
Jun 23, 2025
Merged

Enable comma in filenames#13985
Frenzie merged 2 commits into
koreader:masterfrom
hius07:fimename-comma

Conversation

@hius07

@hius07 hius07 commented Jun 23, 2025

Copy link
Copy Markdown
Member

Closes #13973.


This change is Reviewable

@Frenzie Frenzie added this to the 2025.06 milestone Jun 23, 2025
Comment thread frontend/util.lua Outdated
local function replaceAllInvalidChars(str)
if str then
return str:gsub('[\\,%/,:,%*,%?,%",%<,%>,%|]','_')
return str:gsub('[\\%/:%*%?%"%<%>%|]', '_')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of that escaping also doesn't seem necessary in this context in []?

@Frenzie Frenzie merged commit a4bb9d6 into koreader:master Jun 23, 2025
4 checks passed
@hius07 hius07 deleted the fimename-comma branch June 30, 2025 11:08
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Epub downloaded with OPDS has commas in filename replaced with underscores

2 participants