FreeRadius + MySQL characters being converted to HEX

Steve Staples sstaples at
Thu Dec 16 16:33:48 CET 2010

On Thu, 2010-12-16 at 16:15 +0100, Alan DeKok wrote:
> Steve Staples wrote:
> > there were some other attributes that get these =HEX values passed and
> > stored, and what I am wondering is, is that in the flat files, it gets
> > stored as 
> > connect-progress=LAN Ses Up  ('=3D' translates to '=')
> > 
> > but in MySQL, it gets parsed/translated to the '=3D' style.  How do I go
> > about storing this as the '=' and not the '=3D' as well as all the other
> > attribute values that get parsed/translated to hex characters?
>   Read raddb/sql/mysql/dialup.conf.  Look for "safe_characters".
> > It doesn't appear to be the MySQL that is changing it, it looks like it
> > is from the FreeRadius side... but I could be wrong.
>   It's FreeRADIUS.
>   Alan DeKok.

Thank you Alan, 

I will be adding the '=' and '%' to this list, and uncommenting it.

I had seen this before, but never read it, or put much thought to it.


More information about the Freeradius-Users mailing list