aarongough/ruby-tmdb — Issue #2: Searching for title that contains a slash
Author: til
Created: 2011-11-17 13:59:49+00:00
State: open

Searching for a movie with a slash in the title results in RuntimeError 404:

Tmdb.api_call("Movie.search", "Face/Off")

When escaping the search string it works as expected:

Tmdb.api_call("Movie.search", CGI::escape("Face/Off"))

Would it be safe to change Tmdb.api_call to run CGI::escape twice on the params instead of only once as it is now?