under IIS5.1/PHP5.2.4 variable $_SERVER['QUERY_STRING'] isn't set if empty

part of function request_uri in bootstrap.inc:

original (drupal 5.3):
$uri = $_SERVER['SCRIPT_NAME'] .'?'.$_SERVER['QUERY_STRING'];

modified:
$uri = $_SERVER['SCRIPT_NAME'] .'?';
if (isset($_SERVER['QUERY_STRING']))
$uri .= $_SERVER['QUERY_STRING'];

Comments

alpritt’s picture

Project: » Drupal core
Version: » 6.x-dev
Component: usability » base system
Status: Needs review » Needs work

Patches need an actual patch file.

mot’s picture

Status: Needs work » Postponed (maintainer needs more info)

daniel.rott, please provide detailed information on how to reproduce.

mot’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Since no more Information has been provided since weeks, I closed this Issue because there is no way to verify this. If the original Poster or another Reporter stumbles over the same Problem please re-open the ticket and provide more Information. It looks like a compability Issue with the IIS Webserver running in XYZ? Mode.