Actions
Bug #2135
closed$HTTP["host"] == "hostname:port" works wrong
ASK QUESTIONS IN Forums:
Description
There is a bug in configure-glue.c, line 289~303
289 if (ck_colon == val_colon) { 290 /* nothing to do with it */ 291 break; 292 }
When and only when ck_colon == val_colon == NULL, it breaks. Otherwise, it will go ahead.
Therefore, anything within $HTTP["host"] == "...:port" { } has no chance to be reach.
$HTTP["host"] == "localhost:8880" { ## it would never reach here! }
Files
Updated by stbuehler about 12 years ago
- Description updated (diff)
- Target version changed from 1.5.0 to 1.4.32
I will commit fixes soon, feedback whether it is working would be nice. Thx!
Also this affects 1.4.x too (i'll push to 1.5 too)
Updated by stbuehler about 12 years ago
- Status changed from Patch Pending to Fixed
- % Done changed from 0 to 100
Applied in changeset r2853.
Actions
Also available in: Atom