Topic: IIS Page tracking Bug

IIS doesn't define $_SERVER['REQUEST_URI']), so all the redirects and csrf tokens break. Placing the following code at the top of common.php seems to fix this.



if (!isset($_SERVER['REQUEST_URI']))
{
    $_SERVER['REQUEST_URI'] = $_SERVER["SCRIPT_NAME"] . "?" . $_SERVER['QUERY_STRING'];
}

Re: IIS Page tracking Bug

Moved to the Beta Talk forum

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: IIS Page tracking Bug

Done

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize