DVCSMP-2309 - Wemo Exceptions (#1579)

This commit is contained in:
Juan Pablo Risso
2017-01-10 12:29:53 -05:00
committed by GitHub
parent c028515fcd
commit 5607a3e346
3 changed files with 5 additions and 5 deletions

View File

@@ -78,7 +78,7 @@ def parse(String description) {
def bodyString = msg.body
if (bodyString) {
unschedule("setOffline")
def body = new XmlSlurper().parseText(bodyString)
def body = new XmlSlurper().parseText(bodyString.replaceAll("[^\\x20-\\x7e]", ""))
if (body?.property?.TimeSyncRequest?.text()) {
log.trace "Got TimeSyncRequest"
result << timeSyncResponse()