29 Jan
2009
29 Jan
'09
10:46 a.m.
Stephan Jaeger wrote:
Hello,
in src/lib/valuepair.c there is a
case T_OP_REG_EQ: /* =~ */ case T_OP_REG_NE: /* !~ */
return vp;
around line 1540.
But the value is copied into the vp just before the end of the function. This lets every AVP with a regex op have an empty value which makes the regex always match.
Good catch. I'll commit a fix. I think we need a 2.1.4 next week. Alan DeKok.