Project2612

Bug in search engine

Everything smooth? Got some comments for us? Feedback? It all goes here.

Bug in search engine

Postby vampirefrog » Thu Dec 25, 2014 3:30 pm

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

Bug in search engine

Postby vampirefrog » Thu Dec 25, 2014 3:56 pm

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.
vampirefrog
New Around Here
 
Posts: 29
Joined: Sun Aug 17, 2014 4:19 pm

Bug in search engine

Postby dissident93 » Thu Dec 25, 2014 6:38 pm

Thanks for the fix.
User avatar
dissident93
Been Here for a Bit
 
Posts: 41
Joined: Mon Feb 21, 2011 2:06 pm

Bug in search engine

Postby Monkeymook » Thu Aug 04, 2016 8:35 pm

Thanks for ironing out this bug, vampi.

Monkeymook edit: Bug fixed. Thread locked.
User avatar
Monkeymook
 
Posts: 95
Joined: Sun Aug 22, 2010 2:33 am
Location: Norfolk, VA


Return to Site Feedback

Who is online

Users browsing this forum: No registered users and 2 guests