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 (Closed)
 (v3.4.03) BUG+FIX: login.asp
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 28 October 2002 :  06:07:39  Show Profile
login.asp
on line #56 find the following:
RequestMethod = Request.ServerVariables("Request_method")
Just below that line (on line #57) insert the following:
strTarget = trim(chkString(request("target"),"SQLString"))


on line #72 find the following:
		if Request("target") = "" then
			Response.Write	"default.asp"
		else
			Response.Write	request("target")
		end if

replace it with this:
		if strTarget = "" then
			Response.Write	"default.asp"
		else
			Response.Write	strTarget
		end if


on line #80 find the following:
		if Request("target") = "" then
			Response.Write	"default.asp"
		else
			Response.Write	request("target")
		end if

replace it with this:
		if strTarget = "" then
			Response.Write	"default.asp"
		else
			Response.Write	strTarget
		end if


on line #95 find the following:
		"        <input type=""hidden"" value=""" & chkString(request("target"),"display") & """ name=""target"">" & vbNewLine & _

replace it with this:
		"        <input type=""hidden"" value=""" & strTarget & """ name=""target"">" & vbNewLine & _

theory
Starting Member

29 Posts

Posted - 28 October 2002 :  10:28:49  Show Profile
I don't have a login.asp file...
My version is 3.3.03
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 28 October 2002 :  12:30:19  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
Should this...

quote:

on line #95 find the following:

" <input type=""hidden"" value=""" & request("target") & """ name=""target"">" & vbNewLine & _



...be this...(on line 96)?

" <input type=""hidden"" value=""" & chkString(request("target"),"display") & """ name=""target"">" & vbNewLine & _

Go to Top of Page

Jeepaholic
Average Member

USA
697 Posts

Posted - 28 October 2002 :  14:01:15  Show Profile  Visit Jeepaholic's Homepage
Hey Richard...FYI - my line #95 looked like this:

		"        <input type=""hidden"" value=""" & chkString(request("target"),"display") & """ name=""target"">" & vbNewLine & _

I don't believe it was changed due to any mods, because I normally mark the changes...but, it's possible.

Thanks for the fixes!

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight

Edited by - Jeepaholic on 28 October 2002 17:19:59
Go to Top of Page

Ra1ney
Junior Member

United Kingdom
113 Posts

Posted - 28 October 2002 :  15:09:11  Show Profile
Apologies if I'm being dumb here, but I can't find:

" <input type=""hidden"" value=""" & request("target") & """ name=""target"">" & vbNewLine & _

...not even in my original backup of 3.4.03 Is this correct?

Ra1ney


Edited by - Ra1ney on 28 October 2002 17:20:50
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 28 October 2002 :  17:18:54  Show Profile
quote:
Originally posted by theory

I don't have a login.asp file...
My version is 3.3.03

there wasn't a login.asp file in v3.3.03
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 28 October 2002 :  17:19:48  Show Profile
quote:
Originally posted by mortioli

Should this...

quote:

on line #95 find the following:

" <input type=""hidden"" value=""" & request("target") & """ name=""target"">" & vbNewLine & _



...be this...(on line 96)?

" <input type=""hidden"" value=""" & chkString(request("target"),"display") & """ name=""target"">" & vbNewLine & _



I have modified the fix above.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 28 October 2002 :  17:20:37  Show Profile
quote:
Originally posted by Jeepaholic

Hey Richard...FYI - my line #95 looked like this:

		"        <input type=""hidden"" value=""" & chkString(request("target"),"display") & """ name=""target"">" & vbNewLine & _

I don't believe it was changed due to any mods, because I normally mark the changes...but, it's possible.

Thanks for the fixes!

I have modified the fix above
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 28 October 2002 :  17:25:33  Show Profile
quote:
Originally posted by Ra1ney

Apologies if I'm being dumb here, but I can't find:

" <input type=""hidden"" value=""" & request("target") & """ name=""target"">" & vbNewLine & _

...not even in my original backup of 3.4.03 Is this correct?

Ra1ney



I have modified the fix above.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 13 February 2003 :  10:52:38  Show Profile
Fixed in v3.4.04

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