We are developing a website with a lot of pdf-files with FarCry 4-0-6 (SVN). But there´s a problem when I upload a pdf file to the Media Library and link it to the content, the naming of the pdf-file will be changed.
If I use "working_online_en.pdf", it will be changed to "workingonlineen.pdf".
Where can we adapt it, that _ won´t be deleted, so that working_online_en.pdf will be used?
A solution might be to use the file formtool and modify the behaviour directly, but we need assistance with. Is there another easier solution available?
Best regards and thank you in advance
Chris
Environment
FarCry 4-0-6
Activity
Show:
Geoff Bowers
April 6, 2013 at 4:37 AM
You can use - in a filename: my-pdf-file.pdf.
Alternatively you could update/override the sanitizing function in the file formtool.
Dear all,
We are developing a website with a lot of pdf-files with FarCry 4-0-6 (SVN). But there´s a problem when I upload a pdf file to the Media Library and link it to the content, the naming of the pdf-file will be changed.
If I use "working_online_en.pdf", it will be changed to "workingonlineen.pdf".
Where can we adapt it, that _ won´t be deleted, so that working_online_en.pdf will be used?
A solution might be to use the file formtool and modify the behaviour directly, but we need assistance with. Is there another easier solution available?
Best regards and thank you in advance
Chris