The Movie Database Support

It's an important movie that won an oscar for best Costume_Design in 1962. :-)

This problem affects website search and api search.

It's most likely because of the question mark. Without the question mark it works, but imho full title searches with correct spelling should work even if the movie title contains unusual characters.

4 replies (on page 1 of 1)

Jump to last post

Hi holgerbrandl,

Generally speaking, all characters do work, in this case since a question mark is a reserved URL parameter character, I'm fairly confident that's what's wrong.

On the API, you'll have to properly escape it no matter what. On the website, I'll make sure to do that. Regardless though, I'm fairly certain our search lib is converting it at the wrong time. I've created a ticket for this here, and will look at it.

Cheers.

Hello Travis,

thank you for your fast reply. I've checked the escaping when using the API, and I still think it's a sever problem: http://api.themoviedb.org/3/search/movie?api_key=APIKEY&query=What+Ever+Happened+to+Baby+Jane%3F&include_adult=false gives and (incorrect) empty result list. The question mark seems correctly encoded as %3F.

Without the escaped question mark 2 results are obtained (which is the expected answer) http://api.themoviedb.org/3/search/movie?api_key=APIKEY&query=What+Ever+Happened+to+Baby+Jane&include_adult=false

Maybe the query parameters are escaped again on the sever side?

Cheers, Holger

Hi Holger,

Yes, that's what I meant. All I was saying was that even when I fix it on the server side, you'll still have to properly escape your search query.

Hi Holger,

I just pushed the fix for this, you can see it working here on the website and you can check this query on the API:

http://api.themoviedb.org/3/search/movie?api_key=###&query=what+ever+happened+to+baby+jane%3F

P.S. The API has that response cached, it will start working in a few hours once the cache has expires.

Cheers.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login