Admin fails to add a slash between MEDIA_URL and upload_to
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
With MEDIA_URL="/media" and upload_to="somefolder" the admin, while uploading files properly, shows the link to the newly uploaded file as “/mediasomefolder/filename” without the slash.
Expected: to add a slash.
For consistency, the trailing slash should never be required on paths.
Change History (4)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Status:||new → closed|