Ticket #738 (closed defect: fixed)
Cache of conditional configuration tests is too eager: Breaks HTTP["url"] if conditions evaluated at uri_raw time
| Reported by: | lionel@… | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Version: | 1.4.11 |
| Severity: | major | Keywords: | |
| Cc: | webmaster@… | Blocked By: | |
| Need User Feedback: | no | Blocking: |
Description
If any module runs at uri_raw time and causes the conditional configuration tests to be evaluated, they get cached. But the URL is not yet known at this time (the URL gets compared to an _empty_ string), so the cached answer is _wrong_ and HTTPurl? conditional configuration snippets don't work.
I've disabled the cache completely (replace the test in config_check_cond_cached by "if (-1)") and now it works fine.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

