https://bugzilla.wikimedia.org/show_bug.cgi?id=67938
Bug ID: 67938
Summary: Block::newFromTarget gets autoblocks when its
documentation says it doesn't
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: User blocking
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
Block::newFromTarget returns autoblocks when its second parameter is null, even
though its doc comment specifically says that it won't. This is dangerous
because callers that believe the doc comment could end up leaking autoblocks.
I'm not sure whether it's the code or the comment that's "right", though. See
comments on I9ea77ae1ac31b44f2bb9767d41192dc0ae492c28
--
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