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

fix: sanitize image filenames for writing to disk #11

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

Conversation

tin900
Copy link
Contributor

@tin900 tin900 commented Sep 9, 2024

Pull Request Description

Type of Change

  • Bug fix
  • New feature
  • Enhancement
  • Documentation update
  • Other (please specify)

Description of Changes

Before writing files to disk, replace special characters which are forbidden in filepaths, by an underscore.

Related Issues

See associated issue #10

Checklist

  • I have tested these changes locally
  • I have updated the documentation accordingly
  • My code follows the project's coding standards
  • I have added/updated tests to cover my changes (if applicable)
  • The code is accompanied by comments
  • I have linked this PR to relevant issues (if applicable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant