Project

General

Profile

Actions

Bug #738

closed

Cache of conditional configuration tests is too eager: Breaks HTTP["url"] if conditions evaluated at uri_raw time

Added by Anonymous almost 18 years ago. Updated about 16 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

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.

-- lionel

Actions #1

Updated by moo almost 18 years ago

HTTPurl cannot contain any other type of conditionals, nor url.rewrite. if we do url.rewrite on cleaned url, it should workarround the problem. but this is a question to be or not to be.

Actions #2

Updated by stbuehler about 16 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Fixed in r2080, see #1164

Actions

Also available in: Atom