XFileSharing Free - File Error

Message
Author
nosorry
Posts: 7
Joined: Jan 22, 2008 10:31 pm

File Error

#1 Postby nosorry » Feb 27, 2008 6:38 pm

A user notified me that they could not upload a file. The file was named Icon_Converter_Plus_4.1.rar. It will not load here either http://www.sibsoft.net/xfilesharing/.

File Name: Icon_Converter_Plus_4.1.rar
Error happened while upload: unallowed extension

What is going on with that?

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Feb 28, 2008 9:15 am

Have bug there :(
Here goes quick fix: in upload.cgi find

Code: Select all

if( $c->{ext_not_allowed} && $filename=~/\.$c->{ext_not_allowed}$/i )
and replace with

Code: Select all

if( $c->{ext_not_allowed} && $filename=~/\.($c->{ext_not_allowed})$/i )

nosorry
Posts: 7
Joined: Jan 22, 2008 10:31 pm

#3 Postby nosorry » Feb 28, 2008 5:35 pm

Yes it works now. Thanks for the update. Other customers should have it also.