[Mono-bugs] [Bug 360407] New: MaskedTextProvider Ignores PromptChar When Using Password

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Feb 10 06:50:27 EST 2008


           Summary: MaskedTextProvider Ignores PromptChar When Using
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: luke.a.page at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          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 "__/__".


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.

More information about the mono-bugs mailing list