From f19db442427082f556938bf358621476c1e93e8f Mon Sep 17 00:00:00 2001 From: Matt Amos Date: Wed, 20 Jan 2016 17:36:47 +0000 Subject: [PATCH] Spaces (0x20) should not be replaced, as they are not invalid. --- .../planet/files/default/replication-bin/replicate-changesets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/planet/files/default/replication-bin/replicate-changesets b/cookbooks/planet/files/default/replication-bin/replicate-changesets index 8fd78a1bc..3c1aef151 100644 --- a/cookbooks/planet/files/default/replication-bin/replicate-changesets +++ b/cookbooks/planet/files/default/replication-bin/replicate-changesets @@ -18,7 +18,7 @@ GEO_SCALE = 10000000 ## # replace characters which cannot be represented in XML 1.0. def xml_sanitize(str) - str.gsub(/[\x00-\x08\x0b\x0c\x0e-\x20]/, "?") + str.gsub(/[\x00-\x08\x0b\x0c\x0e-\x1f]/, "?") end ## -- 2.43.2