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 "" and not "" in your search definition @ firefox.

see also:


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, or domain into your address server will redirect you to, 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;-)

Server information for ... 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: ... 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 (eheh)

Posted: Wed Oct 10, 2007 9:57 am
by exp
Use of 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 at some point.


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

but but but but 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.


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