Skip to content

Commit

Permalink
Fixed header parsing to allow values with : in them
Browse files Browse the repository at this point in the history
  • Loading branch information
MEwerAptima committed Jul 16, 2019
1 parent f9ddcb1 commit b1ba029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StompClientLib/Classes/StompClientLib.swift
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public class StompClientLib: NSObject, SRWebSocketDelegate {
} else {
let parts = line.components(separatedBy: ":")
if let key = parts.first {
headers[key] = parts.last
headers[key] = parts.dropFirst().joined(separator: ":")
}
}
}
Expand Down

0 comments on commit b1ba029

Please sign in to comment.