Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better filename sanitization #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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