On 1/2/19 12:01 PM, Christophe Fergeau wrote: > Adding Markus to cc: list, I forgot to do it when sending the patch.
Also worth backporting via qemu-stable, now in cc. > > Christophe > > On Wed, Jan 02, 2019 at 03:05:35PM +0100, Christophe Fergeau wrote: >> commit 8bca4613 added support for %% in json strings when interpolating, >> but in doing so, this broke handling of % when not interpolating as the >> '%' is skipped in both cases. >> This commit ensures we only try to handle %% when interpolating. >> >> Signed-off-by: Christophe Fergeau <cferg...@redhat.com> >> --- >> qobject/json-parser.c | 10 ++++++---- >> tests/check-qjson.c | 5 +++++ >> 2 files changed, 11 insertions(+), 4 deletions(-) >> Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature