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

       Web browser: ---
             Bug #: 33156
           Summary: Confirming blocking self doesn't work if username is
                    entered in a non-canonical way
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: need-review, patch
          Severity: normal
          Priority: Unprioritized
         Component: Blocking
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: bawolff...@gmail.com
    Classification: Unclassified


Created attachment 9708
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9708
Patch that seems to fix issue

Steps to reproduce:
*Go to special:Block
*Enter your username with first letter lowercase
*Try to block yourself.
*You will be unable to confirm block no matter how many times you click
checkbox.

Attached is patch that seems to fix it, but i don't understand what's actually
going on so I'm hesitant to commit it. Maybe it will make more sense when less
tired.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to