Index: /trunk/DNSDB.pm
===================================================================
--- /trunk/DNSDB.pm	(revision 596)
+++ /trunk/DNSDB.pm	(revision 597)
@@ -5224,13 +5224,12 @@
           } # is $val a raw .arpa name?
 
-# not sure this is necessary for revzones.
-#	  # Spaces are evil.
-#	  $val =~ s/^\s+//;
-#	  $val =~ s/\s+$//;
-#	  if ($typemap{$type} ne 'TXT') {
-#	    # Leading or trailng spaces could be legit in TXT records.
-#	    $host =~ s/^\s+//;
-#	    $host =~ s/\s+$//;
-#	  }
+	  # Spaces are evil.
+	  $val =~ s/^\s+//;
+	  $val =~ s/\s+$//;
+	  if ($typemap{$type} ne 'TXT') {
+	    # Leading or trailng spaces could be legit in TXT records.
+	    $host =~ s/^\s+//;
+	    $host =~ s/\s+$//;
+	  }
 
           _printrec_tiny($zonefilehandle, $recid, 'y', \%recflags, $revzone,
