- Timestamp:
- 05/24/09 12:15:55 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MailerContrib/lib/Foswiki/Contrib/MailerContrib/Subscription.pm
r2957 r3974 68 68 my $record = $this->{topics}; 69 69 70 # convert RE back to wildcard 71 $record =~ s/\.\*\?/\*/; 70 # Protect non-alphanumerics in topic name 71 if ($record =~ /[^*\w.]/) { 72 if ($record =~ /'/) { 73 $record = "\"$record\""; 74 } else { 75 $record = "'$record'"; 76 } 77 } 72 78 $record .= $this->getMode(); 73 79 $record .= " ($this->{depth})" if ( $this->{depth} );
Note: See TracChangeset
for help on using the changeset viewer.
