Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Dec 16, 2004 11:13 am Reply with quote

Hi bob and or raven....nice post ..

"URL's that end with trailing slash, like index.php/ wreck havoc in PHP Nuke "

So i did that applied the "fix ?"
Code:


if($_SERVER['REQUEST_URI'] != "/" AND substr($_SERVER['REQUEST_URI'], -1) == "/") {
  header("Location: http://".$_SERVER['HTTP_HOST'].rtrim($_SERVER['REQUEST_URI'],'/'));
}


but in return i get another bug.
When im logged in as admin and logout usualy the page return to the index......right ?

well not anymore...
instead it takes hours (looking at the progress bar) and finaly results in a
..page cannot be found....same you get when a site isnt there...

when i take the lines out ,the logout is back to normal again...
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Thu Dec 16, 2004 12:10 pm Reply with quote

No problems here.
 
View user's profile Send private message
hitwalker
PostPosted: Thu Dec 16, 2004 12:57 pm Reply with quote

well if it isnt solved thats fine by me cause like bob said...its no security issue.
ive taken it out so its probably related to what nuke version your using...
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©