Steps to reproduce bug
- Go to https://virtualmin.com/node/add/project-issue/virtualmin_com
- Attach a file with the following naming. Double check that the file name includes three dashed "---". For example: change-mysql-password---screenshot---ubertus---325.jpg
- Save that ticket/issue
- Try to view that file you just attached. Drupal returns that error message:
- Page not found
The requested page "/sites/default/files/issues/change-mysql-password-" could not be found.
- Page not found
- Expected result is user should be able to upload file with any names. Then Drupal would automatically rename them appropriately. After that Drupal would set appropriate path to that renamed file.
The Drupal module transliteration might resolve that issue
We would be happy to contribute testing on virtualmin.com
Files:
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Fri, 12/02/2016 - 17:40 Comment #1
Goodness, that's above my pay grade when it comes to Drupal! I looked at the transliteration module, and I don't see an indication that it'll handle this case, but I'll try installing it on my dev instance and see if it resolves the problem.
Actually, I think you're right about the fix. On the dev system, I was able to upload and view that file. So, I'll test it a bit more thoroughly, and then roll it out here.
Thanks for the heads up and for the solution!
Maybe fixed?
Totally fixed. Thanks again!
Thanks Joe :) I'm happy to hear it is fix. Yayaya :)
I also tested that fix with this newly attached file. Confirming that fix works.
We faced the same challenge at Ubertus with multiple Drupal sites. That Drupal module fixed it. By the way, that module is very stable. Also has a large and friendly community around it 279,076+ users reported. With more than 1.4+ million download.