filename percent sign

pilot830

New Member
YetiShare User
Jan 22, 2014
242
1
0
http://i.imgur.com/UOM2zsx.png

Someone uploaded some files, spaces shows up with % sign. can you fix this for next release

also in video streaming if the file name has space often time it shows % in the file name as well on the mediaplayer video page
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Look up the php function "rawurlencode".

Those % signs are actually "%20" which before url encoding are spaces, which break the file urls.

Can easily be fixed ( I do not see any problem in v3.5.2 on my dev server) by editing /admin/ajax/file_manage.ajax.php

Find both instances of
Code:
$row['originalFilename']
Replace with:
Code:
urldecode($row['originalFilename'])