https://bugzilla.novell.com/show_bug.cgi?id=360407


           Summary: MaskedTextProvider Ignores PromptChar When Using
                    Password
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


If a MaskedTextProvider is set up with a prompt character (e.g. Mask "##\\/##",
PromptChar is '_') and a PasswordChar of star, then before any text is present
in the provider, ToDisplayString() returns "**/**" rather than "__/__".

E.g.

MaskedTextProvider mtp = new MaskedTextProvider ("##\\/##");
mtp.PromptChar = '_';
mtp.PasswordChar = '*';
System.Console.WriteLine (mtp.ToDisplayString ());


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to