From 9b36a877417fa74b5036fe686bd1a72aa9113707 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 16 Oct 2020 01:39:26 -0700 Subject: [PATCH] ircd::json: Allow trailing valid whitespace in tight validator. --- ircd/json.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/json.cc b/ircd/json.cc index 5204b3f44..0bd42209f 100644 --- a/ircd/json.cc +++ b/ircd/json.cc @@ -4656,7 +4656,7 @@ namespace ircd::json decltype(ircd::json::validation) ircd::json::validation { - parser.value(0) >> eoi + parser.value(0) >> parser.ws >> eoi }; decltype(ircd::json::validation_expect)