XFileSharing Pro - Why do brackets turn to underscores when theyre uploaded?
Why do brackets turn to underscores when theyre uploaded?
[] symbols turn to _ in the filename after the file has been uploaded. Is there anyway to prevent this from happening?
nvmd got it:
Just comment out this bit of code in the cgi-bin/upload.cgi file
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;