[wp-trac] [WordPress Trac] #34397: Microsoft-IIS detection in the wp_fix_server_vars() function

WordPress Trac noreply at wordpress.org
Thu Oct 22 18:10:43 UTC 2015


#34397: Microsoft-IIS detection in the wp_fix_server_vars() function
-------------------------------------+----------------------
 Reporter:  3sq                      |       Owner:
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:
Component:  General                  |     Version:  trunk
 Severity:  normal                   |  Resolution:  wontfix
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+----------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Replying to [ticket:34397 3sq]:
 > We spoof our Apache version as IIS (just to be difficult). However this
 means that it is detected as IIS when it is not.

 If you're doing something as bizarre as spoofing IIS with Apache then you
 at least need to have a real IIS server available to determine that you're
 doing it correctly.

 Your server should correctly set the `$_SERVER` query variables similar
 to, for example, how a reverse proxy needs to.

 Let's not waste our time on self-inflicted issues like this, even as minor
 as it is.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34397#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list