• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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