Permalink
Browse files

- strip controls chars from chat messages as it fails the process of…

… recordings
  • Loading branch information...
1 parent 93b274f commit 4ee4eb79cc6efda02c3031bab3b5fd3a7dbb5c83 @ritzalam ritzalam committed May 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 record-and-playback/core/lib/recordandplayback/events_archiver.rb
View
2 record-and-playback/core/lib/recordandplayback/events_archiver.rb
@@ -76,7 +76,7 @@ def store_events(meeting_id)
}
elsif res[MODULE] == "CHAT" && res[EVENTNAME] == "PublicChatEvent" && key == "message"
xml.method_missing(key){
- xml.cdata!(val)
+ xml.cdata!(val.tr("\u0000-\u001f\u007f\u2028",''))
}
else
xml.method_missing(key, val)

0 comments on commit 4ee4eb7

Please sign in to comment.