You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 22-04-2013 17:23:40

mhs
Contributors
Registered: 25-03-2013
Posts: 4

Problem with URL open

Hello,

I have problem with URL open in tiles. Every character is converted to small letters, when I type:newtab:http://www.youtube.com/channel/UC0fiGLzzbZKg
it is converted to the http://www.youtube.com/channel/uc0figlzzbzkg

In most pages are not problem, but for example Youtube not work...

Any solution?

Offline

#2 22-04-2013 21:04:23

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Problem with URL open

Okay, indeed a bug. Everything converting to lowercase is normal, but it shoudln't be done for external urls. A quick fix, but not perfect (I don't really know how it'll affect the working of the template):

open inc/init.php and go to line 51 and 53. And replace both rules

return $t."href='".strtolower(stripSpaces($l))."'";   

to

return $t."href='".(stripSpaces($l))."'";   

and yea, I don't know neither why there's an if/else statement and the two things exactly the same... tongue

Offline

Board footer

Powered by FluxBB