| View previous topic :: View next topic |
| Author |
Message |
ubesoft
Joined: 23 Jan 2009 Posts: 9
|
Posted: May 23, 2010 1:16 am Post subject: Title Tag Formatting |
|
|
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/Papel_de_Parede_Call_of_Duty_Modern_Warfare_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 |
|
| Back to top |
|
 |
komi
Joined: 27 Nov 2009 Posts: 159
|
Posted: May 23, 2010 7:35 am Post subject: |
|
|
| Turn of Sanitize filename under Files tab. |
|
| Back to top |
|
 |
ubesoft
Joined: 23 Jan 2009 Posts: 9
|
Posted: May 23, 2010 10:10 am Post subject: Title Tag |
|
|
| 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: | | my @fn = grep{length($_)>2 && $_!~/(www|net|ddl)/i}split(/[\s\.]+/, $fname); |
To this:
| Code: | | 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 |
|
| Back to top |
|
 |
|