Author: fehr Date: Tue Nov 20 13:09:39 2007 New Revision: 42214 URL: http://svn.opensuse.org/viewcvs/yast?rev=42214&view=rev Log: allow more characters (^\<>) in crypt passwd (#337606) Modified: trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/include/custom_part_dialogs.ycp trunk/storage/storage/src/include/custom_part_helptexts.ycp Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=42214&r1=42213&r2=42214&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Tue Nov 20 13:09:39 2007 @@ -3,6 +3,7 @@ - changed help text about large disks (#341563) - remove obsolete cruft +- allow more characters (^\<>) in crypt passwd (#337606) ------------------------------------------------------------------- Fri Nov 16 11:13:04 CET 2007 - aschnell@suse.de Modified: trunk/storage/storage/src/include/custom_part_dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/custom_part_dialogs.ycp?rev=42214&r1=42213&r2=42214&view=diff ============================================================================== --- trunk/storage/storage/src/include/custom_part_dialogs.ycp (original) +++ trunk/storage/storage/src/include/custom_part_dialogs.ycp Tue Nov 20 13:09:39 2007 @@ -152,12 +152,12 @@ } else if( size(pw1)>=minpwlen || tmpcrypt ) { - any ret2 = findfirstnotof( pw1, "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ#* ,.;:._-+!$%&/|\?{[()]}@" ); + any ret2 = findfirstnotof( pw1, "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ#* ,.;:._-+!$%&/|\?{[()]}@^\\<>" ); if ( ret2 != nil && size(pw1)>0 ) { // popup text Popup::Message(_("The password may only contain the following characters: - 0..9, a..z, A..Z, and any of \"@#* ,.;:._-+!$%&/|\?{[()]}\". + 0..9, a..z, A..Z, and any of \"@#* ,.;:._-+!$%&/|\?{[()]}^\\<>\". Try again.")); } else Modified: trunk/storage/storage/src/include/custom_part_helptexts.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/custom_part_helptexts.ycp?rev=42214&r1=42213&r2=42214&view=diff ============================================================================== --- trunk/storage/storage/src/include/custom_part_helptexts.ycp (original) +++ trunk/storage/storage/src/include/custom_part_helptexts.ycp Tue Nov 20 13:09:39 2007 @@ -88,12 +88,12 @@ "), minpwlen); // help text, continued - helptext = helptext + _("<p> + helptext = helptext + sformat(_("<p> Possible characters are -<tt>#*,.;:._-+!</tt><tt>$%&/|?{[()]}</tt>, blanks, uppercase and lowercase +<tt>%1</tt>, blanks, uppercase and lowercase letters (<tt>A-Za-Z</tt>), and digits <tt>0</tt> to <tt>9</tt>. </p> -"); +"), "#*,.;:._-+!$%&/|?{[()]}^\\<>!"); } // help text, continued -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org