• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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