Mass Search Bug - Need Quick Fix

Powerfull XFileSharing version

Moderator: admin

Message
Author
qq_bbq
Posts: 122
Joined: Jul 05, 2009 11:33 pm

Mass Search Bug - Need Quick Fix

#1 Postby qq_bbq » Jul 03, 2010 10:06 am

Please fix the mass search bug:

When you mass search files with long link, it works, but short links it doesn't work.

Example (Works):
http://site.com/abcdefghijkl/filename.zip.html
http://site.com/bcdefghijklm/filename2.zip.html

Example (Does Not Work):

http://site.com/abcdefghijkl
http://site.com/bcdefghijklm

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

Re: Mass Search Bug - Need Quick Fix

#2 Postby ankurs » Jul 03, 2010 10:46 am

yes can confirm the bug

qq_bbq
Posts: 122
Joined: Jul 05, 2009 11:33 pm

#3 Postby qq_bbq » Jul 05, 2010 1:27 am

Need quick fix, should be simple.

User avatar
PilgrimX182
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#4 Postby PilgrimX182 » Jul 05, 2010 6:44 am

In index.cgi replace line

Code: Select all

push @arr,$1 while $f->{mass_search}=~/\/(\w{12})\//gs;

with

Code: Select all

push @arr,$1 while $f->{mass_search}=~/\/(\w{12})\/?/gs;


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests