tools/multiwebsearch.pl: do whitespace substitution before passing the string to...
authorPaul Mangan <paul@claws-mail.org>
Sat, 26 Jul 2003 10:05:48 +0000 (10:05 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sat, 26 Jul 2003 10:05:48 +0000 (10:05 +0000)
ChangeLog.claws
configure.ac
tools/multiwebsearch.pl

index 98462f1..05358df 100644 (file)
@@ -1,3 +1,10 @@
+2003-07-26 [paul]      0.9.3claws54
+
+       * tools/multiwebsearch.pl
+               do whitespace substitution before passing the string
+               to the browser. fixes bug with browsers that don't
+               do whitespace conversion themselves.
+
 2003-07-25 [christoph] 0.9.3claws53
 
        * src/folder.[ch]
index 01923af..d5f8d05 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=53
+EXTRA_VERSION=54
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 16ad643..f46a9fa 100644 (file)
@@ -25,6 +25,8 @@ my $what  = '';
 GetOptions("where=s"   => \$where,
           "what=s"     => \$what);
 
+$what =~ s/\s/%20/g;
+
 chdir($ENV{HOME} . "/.sylpheed") 
        || die("Can't find your ~/.sylpheed directory\n");