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: admin_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 :  05:57:22  Show Profile
admin_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 #76 find the following:
		if Request("target") = "" then
			Response.Write	"admin_home.asp"
		else
			Response.Write	request("target")
		end if

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


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

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


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

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

wcameron
New Member

55 Posts

Posted - 18 December 2002 :  13:20:43  Show Profile  Visit wcameron's Homepage
I just upgraded to v3.4.03. I applied this patch, along with the admin_login_short.asp patch. When I did, I could no longer login as an administrator. It just would not accept my password.

Am I looking for trouble if I don't apply the patch?

wcameron
<------------------------------------------------->
http://MountainNature.com - The Field Guide for the Next Millennium
http://FrontPageMagic.com - Database Driven Websites for Non-Programmers
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 December 2002 :  19:17:09  Show Profile
start with a fresh copy of admin_login.asp and try again. you must have edited something wrong.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 13 February 2003 :  11:04:29  Show Profile
Fixed in 3.4.04.

Support Snitz Forums

Edited by - Davio on 07 March 2003 11:34:51
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.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07