Page 1 of 1

[BUG] Search engine can't deal with %21(!) etc.

Posted: Thu Sep 27, 2007 12:50 am
by retroactiv
Hi I use the quick search bar in mozilla and have an anidb search engine in there, unfortunately if there is any punctuation in the search, for example (!,'&) your search translates these to %21 and so on. I was just wondering if this is something you are willing to look at.

Posted: Thu Sep 27, 2007 7:33 am
by nwa
Well, our search engine can deal with it, you kinda need to escape those symbols in the url.

Posted: Thu Sep 27, 2007 7:54 am
by exp
Make sure that you are using "anidb.net" and not "anidb.info" in your search definition @ firefox.

see also: http://tracker.anidb.net/view.php?id=753

BYe!
EXP

Posted: Tue Oct 09, 2007 10:26 pm
by Pelias
I did some proper testing and I think it's you who fucked up:P

When you enter www.anidb.net, www.anidb.info or anidb.info domain into your address server will redirect you to anidb.net, but since domain redirector reencodes url in the process, the %20 in original query becomes %2520, which of course is converted (as you said in your bug report reply)... except that it ends up being converted from %2520 to %20 instead to space_char (as can be seen in search bar, really) which then the search engine fails to comprehend.

So, either:
- disable rewriting on domain redirection
- add parsing to search engine
- do something smart (hey, you're they guys who makes all those awesome services, I just use them;-)


EDIT:
Server information for http://www.anidb.net/perl-bin/animedb.p ... blue[b]%20[/b]drop&show=animelist

HTTP/1.1 301 Moved Permanently
Date: Tue, 09 Oct 2007 22:35:43 GMT
Server: Apache
Location: http://anidb.net/perl-bin/animedb.pl?ad ... ue[b]%2520[/b]drop&show=animelist
Content-Type: text/html; charset=iso-8859-1
I don't just think anymore, now I'm sure :P

Posted: Wed Oct 10, 2007 8:35 am
by epoximator
use anidb.net (eheh)

Posted: Wed Oct 10, 2007 9:57 am
by exp
Use of anidb.info is deprecated.
So don't expect any fix for this.
In fact, we might even start displaying a deprecation error page to all users of anidb.info at some point.

BYe!
EXP

Posted: Wed Oct 10, 2007 10:53 am
by epoximator
yeah, i think it's better to just show "anidb has moved, update your bookmarks" or something like that

Posted: Wed Oct 10, 2007 2:34 pm
by Pelias
I already use anidb.net:P

but but but but www.anidb.net is also fubared. Just so you know.

Posted: Wed Oct 10, 2007 5:33 pm
by PetriW
Don't use www. in front? ;)

Posted: Wed Oct 10, 2007 6:02 pm
by Rar
Or we could like, fix the fucking redirect... C'mon guys...

Not using mod_rewrite which is funky for query strings and going with mod_alias might work. I think exp is still loving his stoneage apache, so just like, using software from this century would probably be fine too.

Rar

Posted: Thu Oct 11, 2007 9:50 am
by dooly00000
In any case, this did prove that the "software" (Search Engine) is bugged. Someone should deeply look into it.

Posted: Thu Oct 11, 2007 10:17 am
by epoximator
eh? did you read properly?

anyway, the redirect has been fixed already

Posted: Thu Oct 11, 2007 8:31 pm
by Pelias
thanks alot for fixing it Rar! :D