Opened 16 years ago
Closed 16 years ago
#8725 closed defect (bug) (fixed)
Redirects not working on Expression Web 2
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | General | Keywords: | has-patch tested reporter-feedback |
Focuses: | Cc: |
Description
The global variable $is_IIS checks if the server is an IIS server or not. This has consequences for the way redirects etc. are implemented. The Expression Web software from Microsoft also uses an IIS-based development server, but here the value of
<nowiki>$_SERVERSERVER_SOFTWARE?</nowiki> is 'ExpressionDevServer'. Since all of the 'hacks' specific to IIS also apply to the Expression Web server, the check for IIS should also check for it.
$is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false || strpos($_SERVER['SERVER_SOFTWARE'], 'ExpressionDevServer') !== false) ? true : false;
Attachments (2)
Change History (8)
#3
@
16 years ago
- Keywords needs-testing added; commit removed
- Owner changed from anonymous to westi
- Status changed from new to assigned
Needs testing on a real ExpressionWeb server.
#4
@
16 years ago
- Keywords reporter-feedback added
- Milestone changed from 2.8 to Future Release
punting to future, from lack of reporter-feedback
Note: See
TracTickets for help on using
tickets.
Attached patch based off reporters information.
Untested against Expression server
Removes some unneeded brackets and ditches the
? true : false;
since thats exactly what the expression resolves to anyway.