Opened 16 years ago
Closed 16 years ago
#11700 closed enhancement (fixed)
Improvements to redirect_canonical()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.0 | Priority: | normal |
| Severity: | normal | Version: | 2.8 |
| Component: | Canonical | Keywords: | has-patch reporter-feedback |
| Focuses: | Cc: |
Description
Don't compare port numbers for the default port (80). Don't run the 'redirect_canonical' hook when $redirect_url is empty.
Attachments (1)
Change History (6)
#3
@
16 years ago
- Keywords reporter-feedback added
What are the bugs this patch fixes?
How can we reproduce them?
#4
@
16 years ago
Putting in the second part, because it's just good error avoidance. I don't understand why you want to ignore port 80. http://example.com:80/ is not the same URL as http://example.com/ Re-open with a better description of the port issue and why your fix is correct.
Note: See
TracTickets for help on using
tickets.
Patch by jfriedl.