Sanitize sync row items.
This commit is contained in:
@@ -342,13 +342,13 @@ class PlexTV(object):
|
|||||||
|
|
||||||
rating_key = clean_uri.rpartition('%2F')[-1]
|
rating_key = clean_uri.rpartition('%2F')[-1]
|
||||||
|
|
||||||
sync_details = {"device_name": device_name,
|
sync_details = {"device_name": helpers.sanitize(device_name),
|
||||||
"platform": device_platform,
|
"platform": helpers.sanitize(device_platform),
|
||||||
"username": device_username,
|
"username": helpers.sanitize(device_username),
|
||||||
"friendly_name": device_friendly_name,
|
"friendly_name": helpers.sanitize(device_friendly_name),
|
||||||
"user_id": device_user_id,
|
"user_id": device_user_id,
|
||||||
"root_title": sync_root_title,
|
"root_title": helpers.sanitize(sync_root_title),
|
||||||
"title": sync_title,
|
"title": helpers.sanitize(sync_title),
|
||||||
"metadata_type": sync_metadata_type,
|
"metadata_type": sync_metadata_type,
|
||||||
"content_type": sync_content_type,
|
"content_type": sync_content_type,
|
||||||
"rating_key": rating_key,
|
"rating_key": rating_key,
|
||||||
|
Reference in New Issue
Block a user