Skip to content

Commit 3202b00

Browse files
committed
QueryEscape summary
1 parent 610112d commit 3202b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plex.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ func addToPlexPlaylist(cfg Config, playlistKey, machineID string, tracks []Track
316316
}
317317

318318
func updatePlexPlaylist(cfg Config, PlaylistKey, summary string) error {
319-
params := fmt.Sprintf("/playlists/%s?summary=%s", PlaylistKey, summary)
319+
params := fmt.Sprintf("/playlists/%s?summary=%s", PlaylistKey, url.QueryEscape(summary))
320320

321321
if _, err := makeRequest("PUT", cfg.URL+params, nil, cfg.Creds.Headers); err != nil {
322322
return err

0 commit comments

Comments
 (0)