Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12101

Redirect for Microsoft servers in /includes/functions.php:redirect()

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.12
    • Fix Version/s: 3.1.5-RC1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Webmatrix 3.0 (7.1.1932.0) @ IIS Express Version 8.0.8418.0
      Windows 7 Professional (6.1 Build 7601 SP1)
      SERVER_SOFTWARE=Microsoft-IIS/8.0

      Description

      In /includes/functions.php in redirect() we have

      	// Redirect via an HTML form for PITA webservers
      	if (@preg_match('#Microsoft|WebSTAR|Xitami#', getenv('SERVER_SOFTWARE')))

      As in Re: If your browser does not support meta redirection a user is running Webmatrix 3.0 (7.1.1932.0) on IIS Express 8.0.8418.0 and his SERVER_SOFTWARE environment variable is

      Microsoft-IIS/8.0

      However, he claims that he don't needs the HTML redirect - the server supports real redirects very well. phpBB should check more precisely in future versions.

      I'm not familiar with IIS - from a quick view it seems the redirect issues have been cleared with version 7.5 and higher.

        Attachments

          Activity

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              AmigoJack AmigoJack
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: