From: kink Date: Thu, 4 May 2006 08:20:57 +0000 (+0000) Subject: Fixed possibility to use single quote in provider name (#1475744). X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=26eed4f778e1602da8e78d5e7cbc05318b82ac98;ds=inline Fixed possibility to use single quote in provider name (#1475744). git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11109 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/ChangeLog b/ChangeLog index 1d7466e0..ed870312 100644 --- a/ChangeLog +++ b/ChangeLog @@ -47,6 +47,7 @@ Version 1.5.2 - CVS - Fixed session lockups on large attachment downloads. - Added configtest hook in src/configtest.php. - Improved error handling for the help pages. + - Fixed possibility to use single quote in provider name (#1475744). Version 1.5.1 (branched on 2006-02-12) -------------------------------------- diff --git a/config/conf.pl b/config/conf.pl index d928d0a3..d71b82ac 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -1018,7 +1018,7 @@ sub command7 { sub command8 { print "Here you can set the name of the link on the right of the page.\n"; - print "The default is 'SquirrelMail/'\n"; + print "The default is 'SquirrelMail'\n"; print "\n"; print "[$WHT$provider_name$NRM]: $WHT"; $new_provider_name = ; @@ -1027,6 +1027,7 @@ sub command8 { } else { $new_provider_name =~ s/[\r\n]//g; $new_provider_name =~ s/^\s+$//g; + $new_provider_name =~ s/\'/\\'/g; } return $new_provider_name; }