Closed (fixed)
Project:
Zeitgeist
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2008 at 03:29 UTC
Updated:
12 Oct 2008 at 07:02 UTC
I am seeing the following things very often in the recent search block
favicon.ico
admin/classes/errors.php
upload/admin/includes/header.inc.php
Also, can we filter that some "bad words" and adult keywords aren't included ?
Thanks
Comments
Comment #1
fgmCould you explain exactly what you see ? The two php file names do not belong to Zeitgeist, so it seems someone is using your search box to search for these terms, and if so, it's only natural for you to see them in the recent search block. Is this text you are seeing as recent search entries, or is this text the appears as an error ?
If you are displaying this block for non-admin users in spite of the instructions on the module, you are creating some vulnerability on your site, as explained on the project page "It is generally NOT a good idea to activate the Zeitgest latest searches block for public display, as it can be used to display inappropriate content just by searching for it."
Regarding filtering, there is currently no built-in way to falsify the results by removing such actually searched-for words. However, this is easy to implement on a per-site basic. Instead of using the default ZG blocks, create custom PHP blocks and invoke the module functions, then strip out whatever you wish not to see. Assuming you've set ZG to not display the search type, you could use something like this, assuming you defined a filter on your own that returns false on rejected words:
Also, since this does not seem to break the site, from your description, downgrading from critical: this is only for site-breaking issues.
Comment #2
fgmNo answer for over I week. Assuming user error. Feel free to reopen if needed.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.