Podpora The Movie Database

We are having problems in XBMC/Kodi that the API returns additional garbage to Actors names.

http://api.tmdb.org/3/movie/3170/casts?api_key=57983e31fb435df4df77afb854740ea9

See: {"credit_id":"52fe438cc3a36847f805caf3","department":"Writing","id":148822,"job":"Storyboard","name":"Ralph Wright\t","profile_path":null},

"Ralph Wright\t"

The extra \t causes a tab being doing in the text field. We have found this case but there may be more.

Regards, Martijn Team-Kodi

4 replies (on page 1 of 1)

Jump to last post

Hi Martijn,

Thanks for pointing this out. I'll make sure we're properly sanitizing these inputs. It's likely that we are now but on older records like this, we possibly weren't years ago when they were originally added.

Thanks!

Is there a possibility of fixing the current data?

I just tested name: "Ralph Wright ", and it is indeed still a tab at the end.

EDIT: maybe this http://lists.mysql.com/mysql/195303

We don't use MySQL, but yes, it's possible to do a bulk cleanup. It will be part of the fix for this ticket.

I'm unlikely to find time this week for this, but I have created a ticket for this and will look into it when I get some time.

thx. Let me know when you did the clean up. We'll do an additional cleanup on user's side for existing installations.

Ne najdete filma ali serije? Prijavite se, da ga/jo ustvarite.

Povsod

s aktiviraj iskalno vrstico
p odpri meni profila
esc zapri odprto okno
? odpri okno za bližnjice

Na predstavnostnih straneh

b pojdi nazaj (ali na starša, kjer je smiselno)
e pojdi na urejanje strani

Na straneh sezon serij

(desna puščica) pojdi na naslednjo sezono
(leva puščica) pojdi na prejšnjo sezono

Na straneh epizod serij

(desna puščica) pojdi na naslednjo epizodo
(leva puščica) pojdi na prejšnjo epizodo

Na vseh slikovnih straneh

a odpri okno za dodajanje slike

Na vseh urejevalnih straneh

t odpri izbirnik prevodov
ctrl+ s pošlji obrazec

Na straneh za razpravo

n ustvari novo razpravo
w preklopi gledalski status
p preklopi javno/zasebno
c preklopi zaprto/odprto
a odpri aktivnost
r odgovori na razpravo
l pojdi na zadnji odgovor
ctrl+ enter objavi sporočilo
(desna puščica) naslednja stran
(leva puščica) prejšnja stran

Settings

Want to rate or add this item to a list?

Prijava