Skip to content

Better filename sanitization#77

Open
hannaeko wants to merge 1 commit intoakhilrex:masterfrom
hannaeko:fix-file-naming
Open

Better filename sanitization#77
hannaeko wants to merge 1 commit intoakhilrex:masterfrom
hannaeko:fix-file-naming

Conversation

@hannaeko
Copy link
Contributor

Using sanitize.Name can end up with file conflict when there are / in titles. Example include titles ending with (1/2) and (2/2) both being sanitize to 2). This changes it for BaseName which replace slashes with dashes instead of keeping only the last segment.

@akhilrex
Copy link
Owner

Give me some time. Let me test this across multiple scenarios and then merge this.

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.

2 participants