I used a generic config file for our hosts to read in the default domain portion automatically.
However this lead to a fun time of getting \n characters in the domain added to the database. These things should probably be sanity checked for arb escape chars before being inserted, such as...
patch main.inc 539,541c539,541 < $user, < $host,
str_replace("\n", '', $user), str_replace("\n", '', $host), str_replace("\n", '', $user_email),
I just added your suggestions to the SVN trunk.
Thanks! ~Thomas
Colin Alston wrote:
I used a generic config file for our hosts to read in the default domain portion automatically.
However this lead to a fun time of getting \n characters in the domain added to the database. These things should probably be sanity checked for arb escape chars before being inserted, such as...
patch main.inc 539,541c539,541 < $user, < $host,
< $user_email,
str_replace("\n", '', $user), str_replace("\n", '', $host), str_replace("\n", '', $user_email),