Ignore:
Timestamp:
Aug 20, 2009, 2:14:42 AM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
744769e
Parents:
fc92e6e2
git-author:
Anders Kaseorg <andersk@mit.edu> (08/20/09 01:28:58)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/20/09 02:14:42)
Message:
Fix quoting for filterappend, filterand, filteror.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl.pm

    rfc92e6e2 r0b5168d  
    362362    my $oldfilter = BarnOwl::getfilter($filter);
    363363    chomp $oldfilter;
    364     my $newfilter = join(' ', $oldfilter, $sep, @_);
    365     my $msgtext = "To filter '$filter' $action\n'".join(' ', @append)."' to get\n'$newfilter'";
     364    my $newfilter = "$oldfilter $sep " . quote(@append);
     365    my $msgtext = "To filter " . quote($filter) . " $action\n" . quote(@append) . "\nto get\n$newfilter";
    366366    if (BarnOwl::getvar('showfilterchange') eq 'on') {
    367367        BarnOwl::admin_message("Filter", $msgtext);
Note: See TracChangeset for help on using the changeset viewer.