Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Open)
 search for any html
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rev_greg
Starting Member

USA
47 Posts

Posted - 07 May 2002 :  17:40:35  Show Profile  Visit rev_greg's Homepage  Send rev_greg an AOL message  Send rev_greg an ICQ Message
I have modified search.asp according to a report that was about searching for <iframe> but that does not fix the problem. If you put <iframe> in the search box you will still get an ifram showing up on the search results. How can this be fixed?



HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 07 May 2002 :  18:09:08  Show Profile  Visit HuwR's Homepage
You haven't replaced all the request.form("search") entries where it is being displayed.

Go to Top of Page

rev_greg
Starting Member

USA
47 Posts

Posted - 07 May 2002 :  18:14:28  Show Profile  Visit rev_greg's Homepage  Send rev_greg an AOL message  Send rev_greg an ICQ Message
I did, but near as I can tell the chkString function only htmlencodes if allow htmlcode is off and mine is on.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 07 May 2002 :  18:17:22  Show Profile  Visit HuwR's Homepage
might have helped if you had said that in the first place.

Go to Top of Page

rev_greg
Starting Member

USA
47 Posts

Posted - 07 May 2002 :  18:23:32  Show Profile  Visit rev_greg's Homepage  Send rev_greg an AOL message  Send rev_greg an ICQ Message
Sorry, I didn't discover how chkstring function worked until after I posted. For right now I added to inc_functions


if fField_Type = "searchdisplay" then

fString = HTMLEncode(fString)

chkString = fString
exit function
end if

then changed the line in search.asp from

" Search Results for: " & chkString(Request.Form("Search"),"display") & vbNewline

to

" Search Results for: " & chkString(Request.Form("Search"),"searchdisplay") & vbNewline


so far that seems to work

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07