Skip to content

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