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: Allow disabling file name sanitization #1586

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

Conversation

taratatach
Copy link
Member

Some clients, like Cozy Desktop, do their own file name sanitization
and don't expect cozy-client to do it for them. In fact, this
sanitization would lead to issues down the road.

To prevent these, we add a sanitizeName option to FileCollection's
methods to disable cozy-client's sanitization.
The option's value will be true by default so other clients don't
have anything to do.

  Some clients, like Cozy Desktop, do their own file name sanitization
  and don't expect `cozy-client` to do it for them. In fact, this
  sanitization would lead to issues down the road.

  To prevent these, we add a `sanitizeName` option to `FileCollection`'s
  methods to disable `cozy-client`'s sanitization.
  The option's value will be `true` by default so other clients don't
  have anything to do.
@taratatach taratatach self-assigned this Feb 5, 2025
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.

1 participant