django-boto icon indicating copy to clipboard operation
django-boto copied to clipboard

File name is incorrect

Open Eimis opened this issue 9 years ago • 0 comments

Hello,

I am using Mac OSX. For some reason when the file is uploaded via Django admin, its' name is prefixed with., so instead of example the filename is set to ./example, this results in browser automatically redirecting from example.com/./file.jpeg (correct url) to example.com/file.jpeg, which, of course, results in 404. The only way for me was to get the file name from file itself, but I have hardcoded this into the core files. I have no way to set the file name, since I am using Django admin.

Eimis avatar Nov 15 '15 15:11 Eimis