]> git.openstreetmap.org Git - chef.git/commitdiff
Merge remote-tracking branch 'github/pull/53'
authorTom Hughes <tom@compton.nu>
Wed, 20 Jan 2016 18:55:15 +0000 (18:55 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 20 Jan 2016 18:55:15 +0000 (18:55 +0000)
cookbooks/planet/files/default/replication-bin/replicate-changesets

index 8fd78a1bc33e1dfee2a81a535d26b24d30290d7e..3c1aef151c93816539e5fc246dcbae0b928a40b6 100644 (file)
@@ -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
 
 ##