Print Page | Close Window

possilbe bug in search.asp

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=11318
Printed Date: 08 April 2026 at 9:29pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: possilbe bug in search.asp
Posted By: Badaboem
Subject: possilbe bug in search.asp
Date Posted: 27 July 2004 at 11:43am
I believe    


'Make the search words the same as encoded stuff
    strSearchKeywords = removeAllTags(strSearchKeywords)
    strSearchKeywords = formatInput(strSearchKeywords)


around line 194

Has to be put before


'Split up the keywords to be searched
sarySearchWord = Split(Trim(strSearchKeywords), " ")


Right now it seems that SarySearchWord isn't encoded properly to find html encoded entities in a topic or message search, and reduces the amount of results returned from the database.

I've created a search engine for a mod and found this by accident. I may be wrong here, but I had issues with this one and now the returned results are twice as high for most searches (for the mod, haven't tried the forum search yet).



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net