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

get_upload_foldername() was going too far in mangling hyphens #53

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

Conversation

acrewdson
Copy link

The function should only be replacing hyphens in the immediate
dir name (the one that holds the image being uploaded), not in the
base path. If you had a path like /data/shared/my-path/images/...,
the my-path part would become my_path, and this is not good.

… in paths

The function should only be replacing hyphens in the immediate
dir name (the one that holds the image being uploaded), not in the
base path. If you had a path like '/data/shared/my-path/images/...',
the 'my-path' part would become 'my_path', and this is not good.
@acrewdson acrewdson changed the title get_upload_foldername was going too far in mangling hyphens get_upload_foldername() was going too far in mangling hyphens May 25, 2017
@dakrauth dakrauth deleted the upload-to-dirs-with-hyphens-fix branch May 27, 2022 18:46
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