Problem with IsValidURL function in 1.8.5 version

Locked
borzecki
User
Posts:1
Joined:Sat Mar 05, 2011 7:20 pm
Are you a spambot?:no
Problem with IsValidURL function in 1.8.5 version

Post by borzecki » Sat Mar 05, 2011 7:28 pm

Hello,

I had a problem with IsValidURL function in write.id3v2.php file.
In line 1907 (checking host) you have a mistake "#$i" and you should have "$#i". All web address are wrong and function return false always.

The second mistake is in 1915 line when you are checking query. I haven't query in my address and the function returned false. I add "&& !empty($parts['query'])" in end of the if and now is ok.

Best regards
Lukasz Borzecki

James Heinrich
getID3() v1 developer
Posts:1477
Joined:Fri May 04, 2001 4:00 pm
Are you a spambot?:no
Location:Northern Ontario, Canada
Contact:

Re: Problem with IsValidURL function in 1.8.5 version

Post by James Heinrich » Sat Jun 11, 2011 10:02 pm

Thanks, fixed in v1.9.0

Locked