Opened 17 years ago
Closed 17 years ago
#5718 closed (wontfix)
PREPEND_WWW should ignore IP addresses/localhost
Reported by: | miracle2k | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
PREPEND_WWW tries to add it's prefix even if IPs or localhost is used, which doesn't play well in a development environment. Although this is easy to fix by activating it only in DEBUG mode, it couldn't hurt to fix it nontheless.
Note:
See TracTickets
for help on using tickets.
I'd be inclined against complicating the codebase for this; it's easy enough to flip
PREPEND_WWW
off when you're running on something that shouldn't have it prepended.