[BUG] Search engine can't deal with %21(!) etc.
Moderator: AniDB
-
- Posts: 37
- Joined: Thu Apr 05, 2007 2:16 am
- Location: England
[BUG] Search engine can't deal with %21(!) etc.
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.
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
see also: http://tracker.anidb.net/view.php?id=753
BYe!
EXP
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
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
-
- AniDB Staff
- Posts: 379
- Joined: Sun Nov 07, 2004 11:05 am
-
- Posts: 28
- Joined: Sat Jul 29, 2006 8:10 pm
-
- AniDB Staff
- Posts: 379
- Joined: Sun Nov 07, 2004 11:05 am