BUG! Variables and MySQL queries

Nicolas Baradakis nbk at sitadelle.com
Wed Aug 23 14:07:06 CEST 2006


Chris Knipe wrote:

> The mySQL variables %H:%i:%S is over written by FreeRadius' variables... 
> I have filed in BugZilla as well.
> 
> Any possibility to get this fixed???

This is not a bug. FreeRADIUS expands the variables in the query strings
as documented here:

  http://freeradius.org/radiusd/doc/variables.txt

If you want to pass the characters "%" to MySQL, you must use the
following syntax: %%H:%%i:%%S

-- 
Nicolas Baradakis




More information about the Freeradius-Users mailing list