https://bugzilla.wikimedia.org/show_bug.cgi?id=40850

       Web browser: ---
             Bug #: 40850
           Summary: jquery.byteLimit rewrite sometimes removes the last
                    character instead of the most recently added, even if
                    it could know this
           Product: MediaWiki
           Version: 1.21-git
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


To reproduce make sure your wiki is up to date, load jquery.byteLimit, create
an input with a limit of 6 bytes and do the following steps.

1. Enter "äöü", move the cursor to the start.
2. Type "ß"

Expected result: Nothing, "äöü" are 6 bytes.
Actual result: Text changes to "ßäö".
Possible solution: Always update the last value, not only if it has been
trimmed.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to