Skip to content

Commit 3d3e375

Browse files
committed
queryescape comment
1 parent 4ab032d commit 3d3e375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subsonic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func getDiscoveryPlaylist(cfg Config) ([]string, error) {
173173
}
174174

175175
func updSubsonicPlaylist(cfg Config, ID, comment string) error {
176-
reqParam := fmt.Sprintf("updatePlaylist?id=%s&comment=%s", ID, comment)
176+
reqParam := fmt.Sprintf("updatePlaylist?id=%s&comment=%s", ID, url.QueryEscape(comment))
177177

178178
if _, err := subsonicRequest(reqParam, cfg); err != nil {
179179
return err

0 commit comments

Comments
 (0)