Bug in search engine

Everything smooth? Got some comments for us? Feedback? It all goes here.
Locked
vampirefrog
Been Here for a Bit
Posts: 30
Joined: Sun Aug 17, 2014 4:19 pm

Bug in search engine

Post by vampirefrog »

Try searching for "(AKA" or "AKA" (append a space), and some weird results pop up.
vampirefrog
Been Here for a Bit
Posts: 30
Joined: Sun Aug 17, 2014 4:19 pm

Bug in search engine

Post by vampirefrog »

I've fixed both bugs. The first one I fixed by adding a preg_quote() in the highlighting function, and the second one by doing some more sanitizing on the input string.
User avatar
dissident93
Been Here for a Bit
Posts: 41
Joined: Mon Feb 21, 2011 2:06 pm

Bug in search engine

Post by dissident93 »

Thanks for the fix.
Monkeymook
Posts: 120
Joined: Sun Aug 22, 2010 2:33 am
Location: Virginia Beach, VA

Bug in search engine

Post by Monkeymook »

Thanks for ironing out this bug, vampi.

Monkeymook edit: Bug fixed. Thread locked.
Locked