rlm_sql_postgresql and plus sign

2010-11-30 Thread Michele Petrazzo
Hi list, 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

Re: rlm_sql_postgresql and plus sign

2010-11-30 Thread Bjørn Mork
Michele Petrazzo michele.petra...@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

Re: rlm_sql_postgresql and plus sign

2010-11-30 Thread Michele Petrazzo
Bjørn Mork wrote: 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 =

Re: rlm_sql_postgresql and plus sign

2010-11-30 Thread Bjørn Mork
Michele Petrazzo michele.petra...@unipex.it writes: Only for curiosity, these chars are hard-coded inside the sources or in other place and loaded at startup? defined like any other module option default in src/modules/rlm_sql/rlm_sql.c : static const CONF_PARSER module_config[] = { /*