Tuesday, June 11, 2019

My favorite subject...in the wild!

My friend Scott pointed out that the site boxofficemojo.com most likely does not use bind variables for its search feature - shame shame!!!

Here's an example of a "good" search. Let's look up The Godfather:


And it works! No surprises there... (Although they could probably work on their relevancy scores.)


Now let's look up the movie Breakin' (note the apostrophe):


...And click "Search"...

Doh!!! Guess the apostrophe breaks the query because they're concatenating user inputs.

Just bind!

No comments: