tags 344070 +patch thanks This seems to be the right combination of backslashes to escape single quotes and backslashes in the user-entered site name.
-- Martin Orr
--- postinst.orig 2006-07-04 20:04:39.000000000 +0100
+++ postinst 2006-07-04 20:07:40.000000000 +0100
@@ -73,5 +73,5 @@
\$mosConfig_absolute_path = '/usr/share/mambo';
\$mosConfig_live_site = '${mambositeurl}';
-\$mosConfig_sitename = '${mambositename}';
+\$mosConfig_sitename = '$(echo ${mambositename} | sed -e s/\\\\/\\\\\\\\/g -e
s/\'/\\\\\'/g)';
\$mosConfig_shownoauth = '1';
\$mosConfig_useractivation = '1';
signature.asc
Description: OpenPGP digital signature

