cockpit-project/cockpit — pull request #582 by stefwalter (2014-05-20 08:10:52+00:00)
Title: common: Fix JSON string encoding for control characters

The implementation we got from json-glib is totally broken here
and escapes using octal sequences which are invalid in JSON.