aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-27 10:26:35 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-27 10:26:35 +0000
commit12d76e6c8de71cb7ddb75c4c7aeeee0c92a69545 (patch)
treeeb1c189273fba999e0201b1d619e608ea8c02dc4
parent674dc5ca149e9f6c62269539774a5a3d5ac22227 (diff)
downloadrpmdrake-12d76e6c8de71cb7ddb75c4c7aeeee0c92a69545.tar
rpmdrake-12d76e6c8de71cb7ddb75c4c7aeeee0c92a69545.tar.gz
rpmdrake-12d76e6c8de71cb7ddb75c4c7aeeee0c92a69545.tar.bz2
rpmdrake-12d76e6c8de71cb7ddb75c4c7aeeee0c92a69545.tar.xz
rpmdrake-12d76e6c8de71cb7ddb75c4c7aeeee0c92a69545.zip
Fix bug #12173 (can't search packages with '+' in their names)
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 732192ab..540d231a 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -325,7 +325,7 @@ sub db {
sub do_search($$$$$$$) {
my ($find_entry, $tree, $tree_model, $options, $current_search_type, $urpm, $pkgs) = @_;
- my $entry = $find_entry->get_text or return;
+ my $entry = quotemeta $find_entry->get_text or return;
my ($results_ok, $results_none) = (N("Search results"), N("Search results (none)"));
$options->{delete_category}->($_) foreach $results_ok, $results_none;
$options->{state}{flat} and $options->{delete_all}->();