Fix invalid link to playlist in sync table (Fixes Tautulli/Tautulli-Issues#34)

This commit is contained in:
JonnyWong16 2018-03-25 12:39:20 -07:00
parent 683a782723
commit 2aff7713cd
2 changed files with 10 additions and 3 deletions

View file

@ -3716,6 +3716,9 @@ class WebInterface(object):
@cherrypy.expose
@requireAuth()
def info(self, rating_key=None, source=None, query=None, **kwargs):
if rating_key and not str(rating_key).isdigit():
raise cherrypy.HTTPRedirect(plexpy.HTTP_ROOT)
metadata = None
config = {