podgrab icon indicating copy to clipboard operation
podgrab copied to clipboard

Better filename sanitization

Open hannaeko opened this issue 3 years ago • 1 comments

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.

hannaeko avatar Mar 29 '21 02:03 hannaeko

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

akhilrex avatar Mar 30 '21 00:03 akhilrex