• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Period in filename being replaced by an underscore when downloading

AmozHouse

New Pleskian
Help please!

I'm in the process of moving several customer websites from a bsd unix server over to a plesk unix box and have got stuck on the last one.
The site is still live on the BSD box and works fine. However the copy on the Plesk box substitutes an underscore for the period, when downloading a file, so it's not being recognised. I.E. on the BSD site I click the download link and get filename.pdf and on the plesk get filename_pdf

Web page code is:

<?php if($row["filename"]) {?>
<div class="read_full"><a href="/viewdocument/<?=$row["filename"]?>">READ FULL STORY</a></div>
<?php }?>

NB: filename is in a MySQL data table with filename.pdf
NB: This is with the both versions of the site loaded in the same browser on separate tabs
 
Fixed

Had some help from a buddy who is much better at this kind of thing than me and he discovered that the issue was due to a codeigniter setting..

'...some setting on codeigniter framework that replaces . with _ on a request'

Afraid he didn't say which one and I don't know where to look, but hopefully this will help anyone with the same issue.
 
Back
Top