#20484 closed defect (bug) (fixed)
Re-enable redirect_canonical for IIS
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Canonical | Version: | |
| Severity: | normal | Keywords: | 3.5-early |
| Cc: | knut@… |
Description
Canonical redirects within IIS 7 were disabled in #16639. The comment then was "The time between 3.1 and 3.2 should be much shorter than the 3.0-3.1 release cycle, so waiting for 3.2 is a tradeoff that many should be able to make." Now that it's been > 1yr and 3.4 is right around the corner, would it be possible for this issue to be revisited?
I develop in Windows / IIS7 and deploy to Linux and so the functionality mismatch caused me a bit of grief until I figured out what was going on. As others have pointed out, it seems silly to discriminate against a perfectly good web server that would otherwise handle redirects just fine.
Change History (9)
- Keywords 3.5-early added
- Milestone changed from Awaiting Review to Future Release
Sorry this got lost.
comment:3
SergeyBiryukov — 11 months ago
Related: #21011
comment:5
markjaquith — 11 months ago
- Owner set to markjaquith
- Resolution set to fixed
- Status changed from new to closed
In [21207]:
- Resolution fixed deleted
- Status changed from closed to reopened
[21207] (which came from whatever [17492] reverted, I know) has some logic issues. If you're on IIS6, you end up with canonical redirects. This is quite possibly what the original bug was in #16639...
What this should be is || ( $is_IIS && ! iis7_supports_permalinks() ). Thus, if you're on IIS (any version), you don't get canonical redirects, unless you have IIS7 and it supports permalinks.
Yeah, [21207] would re-introduce the bug in #16639. See 16639.diff:ticket:16639.
comment:8
markjaquith — 11 months ago
- Resolution set to fixed
- Status changed from reopened to closed
In [21215]:
comment:25
markjaquith — 11 months ago
In [21217]:

+1