XFileSharing Pro - Title Tag Formatting

Message
Author
ubesoft
Posts: 9
Joined: Jan 23, 2009 9:02 am

Title Tag Formatting

#1 Postby ubesoft » May 23, 2010 1:16 am

Hello,

For some reason when i upload a file the title tag of the file download page does not show numbers or dots, i guess it is sanitizing the title tag.

Example:
file uploaded: Papel de Parede Call of Duty Modern Warfare 2.jpg
title tag download page: Download Papel Parede Call Duty Modern Warfare jpg
url: http://www.seushare.com/7q62plz2hbua/Pa ... 2.jpg.html

As you can see on this example it does not show the number "2" on the title tag. I want it to have numbers and dots on title but not underline. How can I do that?

Thanks in advance

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#2 Postby komi » May 23, 2010 7:35 am

Turn of Sanitize filename under Files tab.

ubesoft
Posts: 9
Joined: Jan 23, 2009 9:02 am

Title Tag

#3 Postby ubesoft » May 23, 2010 10:10 am

komi wrote:Turn of Sanitize filename under Files tab.
Thanks but it was not it! I figured it out myself!
It was on index.cgi , on this line 622:
I changed from this:

Code: Select all

my @fn = grep{length($_)>2 && $_!~/(www|net|ddl)/i}split(/[\s\.]+/, $fname);
To this:

Code: Select all

my @fn = grep{length($_)>2 && $_!~/(www|net|ddl)/i}split(/\s\.]+/, $fname);
I only removed one "[" from it on split.

And now title tag works ok with numbers as well, but not with dots, which is ok for me!

Hope it helps someone else with same problem