XFileSharing Pro - Why do brackets turn to underscores when theyre uploaded?

Message
Author
xnoob
Posts: 3
Joined: Apr 07, 2012 8:23 pm

Why do brackets turn to underscores when theyre uploaded?

#1 Postby xnoob » Apr 07, 2012 8:24 pm

[] symbols turn to _ in the filename after the file has been uploaded. Is there anyway to prevent this from happening?

FZee
Posts: 116
Joined: Mar 03, 2010 11:26 am

#2 Postby FZee » Apr 07, 2012 8:44 pm

Go here: Settings -->Files -->Sanitize filename (unchecked)

xnoob
Posts: 3
Joined: Apr 07, 2012 8:23 pm

#3 Postby xnoob » Apr 07, 2012 9:13 pm

i dont have this. im using xfilesharing pro 1.7 and all i have is a "Site Settings" menu

xnoob
Posts: 3
Joined: Apr 07, 2012 8:23 pm

#4 Postby xnoob » Apr 07, 2012 10:49 pm

nvmd got it:
Just comment out this bit of code in the cgi-bin/upload.cgi file

Code: Select all

$fhash{file_name_orig}=~s/[^a-zA-Z0-9-_\.]/_/gs;


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests