Bugfix: search with dots in url now works correctly

Some url with dots in search parsed incorrectly (wrong extension used).

E.G. url "/audio/sound.ogg?build=0.13.95" was parsed as ".95" file, not ".ogg" file. It's totally incorrect and fixed by this commit