Hi, I tried to send a search request but the movies that it cannot find are just the movies that contain an & in the title. I work in PHP and I tried to send the query string with the functions rawurlencode and urlencode. The results are the same. No results found. There's some solution? Thanks in advance.
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por insideep
el 9 de julio de 2016 a las 13:37
For now I solved by myself in this way: str_replace("amp;", "and", str_replace("&", "",$query)) but is not an elegant solutions. I wait for any brilliant idea!
Contestado por Travis Bell
el 12 de julio de 2016 a las 09:45
Hi inside,
You should be encoding your query string. CGI or URI escaping should both work. A test string "Maya & Marty":
URI escaped
CGI escaped
Cheers.
Contestado por insideep
el 13 de julio de 2016 a las 11:42
Thanks @Travis, I will try it soon!