rlm_sql_postgresql and plus sign

Bjørn Mork bjorn at mork.no
Tue Nov 30 10:47:14 CET 2010


Michele Petrazzo <michele.petrazzo at unipex.it> writes:

> today I discover a strange behaviour with FR and the PG backend: if
> the authorize_group_check_query query returns a value that has a plus
> sign (+) inside the groupname, FR thread that value as unicode. I
> think this because into the next authorize_group_reply_query query, it
> use the '=2B' chars.

look near the top of raddb/sql/postgresql/dialup.conf :

# Safe characters list for sql queries. Everything else is replaced
# with their mime-encoded equivalents.
# The default list should be ok
# safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"




Bjørn




More information about the Freeradius-Users mailing list