# HG changeset patch # User Matti Hamalainen # Date 1315493317 -10800 # Node ID 301df7d15861905fdecaa00904544974161c977f # Parent 51e6b16a7601e36b4cd6ddd2b57ee9c0bdd36443 quotedb: Using [join utext " "] on command input string is harmful. Fixed. diff -r 51e6b16a7601 -r 301df7d15861 quotedb.tcl --- a/quotedb.tcl Thu Sep 08 17:47:24 2011 +0300 +++ b/quotedb.tcl Thu Sep 08 17:48:37 2011 +0300 @@ -354,7 +354,7 @@ #------------------------------------------------------------------------- proc qdb_command {utable unick uhost uhand uchan utext upublic} { - set utext [string trim [join $utext " "]] + set utext [string trim $utext] if {$utext == "" || $utext == {}} { # No arguments, assume random query