Skip to content
Permalink
Browse files

Quote the search query in the paginator. Fixes bug #12378.

  • Loading branch information...
perlDreamer committed Aug 18, 2012
1 parent 4c31d18 commit 83227bd8b72a133f2177aa3e0c3868f1a42bb591
Showing with 3 additions and 1 deletion.
  1. +1 −0 docs/changelog/7.x.x.txt
  2. +1 −0 docs/credits.txt
  3. +1 −1 lib/WebGUI/Asset/Wobject/WikiMaster.pm
@@ -1,5 +1,6 @@
7.10.26
- fixed: Template diagnostics when called without a session asset.
- fixed: #12378 Wiki search does not work with some metacharacters

7.10.25
- fixed: #12373: Asset::Wobject::Search::view() so HTML highlite not broken by search phrase with unmatched char pairs
@@ -49,6 +49,7 @@ Contributing Developers..............C.J. Adams-Collier / <cjac@colliertech.org>
Colin Kuskie / perlDreamer Consulting LLC
Christophe Marcant
Kristi McCombs / Plain Black
Vince Liao (Global NOC at IU)
Tony Mountifield
Kaleb Murphy / Plain Black
Chris Nehren / Plain Black
@@ -998,7 +998,7 @@ sub www_search {
$search->search({ keywords => $queryString,
lineage => [$self->get('lineage')],
classes => ['WebGUI::Asset::WikiPage'] });
my $rs = $search->getPaginatorResultSet($self->getUrl("func=search;query=".$queryString));
my $rs = $search->getPaginatorResultSet($self->getUrl("func=search;query=".$self->session->url->escape($queryString)));
$rs->appendTemplateVars($var);
my @results = ();
foreach my $row (@{$rs->getPageData}) {

0 comments on commit 83227bd

Please sign in to comment.
You can’t perform that action at this time.