Description

FullSearch generates "highlight=" stuff in its links. But, it does that not only for terms that were searched for- it does it for terms *excluded*.

Steps to reproduce

Make a search with title exclusions, such as:

[[FullSearch(CategoryBands -title:CategoryBands -title:WhatItIs -title:Bands -title:MainMenu)]]

Example

http://gogobeat.com/Bands

... Look at the links generated!

Stuff like:

[[http://gogobeat.com/1738?highlight=(WhatItIs)|(Bands)|(CategoryBands)|(MainMenu)|(CategoryBands)|http://gogobeat.com/1738?highlight=%28WhatItIs%29%7C%28Bands%29%7C%28CategoryBands%29%7C%28MainMenu%29%7C%28CategoryBands%29]]

They are trying to HIGHLIGHT what IS NOT THERE!!!

These terms should not be revealed in the link- they are what was EXCLUDED, not what was SEARCHED FOR!

Component selection

Details

MoinMoin Version

1.5.7

OS and Version

Linux Connstellation 2.6.15-28-686 #1 SMP PREEMPT Tue Mar 13 20:55:53 UTC 2007 i686 GNU/Linux

Python Version

2.4.3 (#2, Oct 6 2006, 07:52:30) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]

Server Setup

Yes

Server Details

None

Language you are using the wiki in (set in the browser/UserPreferences)

English I guess?

Workaround

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/FullSearchHighlightsExcludedTerms (last edited 2011-02-13 13:41:16 by RogerHaase)