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.

        Activity

        Hide
        DavidIQ David Colón added a comment -

        I've commented this code out ever since I used IIS 6.0 (Windows Server 2003), then with IIS 7.0, 7.5, and now 8.0 (Server 2012). Code could really just be removed now or checked for versions of IIS prior to 6.0. IIS 5.1 is what's used in Windows XP Pro btw.

        Show
        DavidIQ David Colón added a comment - I've commented this code out ever since I used IIS 6.0 (Windows Server 2003), then with IIS 7.0, 7.5, and now 8.0 (Server 2012). Code could really just be removed now or checked for versions of IIS prior to 6.0. IIS 5.1 is what's used in Windows XP Pro btw.
        Hide
        AmigoJack AmigoJack added a comment -

        Why is no fix considered for a 3.0 maintenance release?

        Show
        AmigoJack AmigoJack added a comment - Why is no fix considered for a 3.0 maintenance release?

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development