Page MenuHomePhabricator

InvalidArgumentException: Invalid username: Https//www.cocororo.net/
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
labels.normalized_message
[{reqId}] {exception_url}   InvalidArgumentException: Invalid username: Https//www.cocororo.net/
error.stack_trace
from /srv/mediawiki/php-1.42.0-wmf.19/extensions/CentralAuth/includes/User/CentralAuthUser.php(253)
#0 /srv/mediawiki/php-1.42.0-wmf.19/extensions/CentralAuth/includes/Special/SpecialCentralAuth.php(187): MediaWiki\Extension\CentralAuth\User\CentralAuthUser::getInstanceByName(string)
#1 /srv/mediawiki/php-1.42.0-wmf.19/includes/specialpage/SpecialPage.php(720): MediaWiki\Extension\CentralAuth\Special\SpecialCentralAuth->execute(string)
#2 /srv/mediawiki/php-1.42.0-wmf.19/includes/specialpage/SpecialPageFactory.php(1653): MediaWiki\SpecialPage\SpecialPage->run(string)
#3 /srv/mediawiki/php-1.42.0-wmf.19/includes/actions/ActionEntryPoint.php(504): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, MediaWiki\Context\RequestContext)
#4 /srv/mediawiki/php-1.42.0-wmf.19/includes/actions/ActionEntryPoint.php(145): MediaWiki\Actions\ActionEntryPoint->performRequest()
#5 /srv/mediawiki/php-1.42.0-wmf.19/includes/MediaWikiEntryPoint.php(199): MediaWiki\Actions\ActionEntryPoint->execute()
#6 /srv/mediawiki/php-1.42.0-wmf.19/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
#7 /srv/mediawiki/w/index.php(3): require(string)
#8 {main}
Impact
Notes

Details

Request URL
https://meta.wikimedia.org/wiki/Special:CentralAuth/https//www.cocororo.net/

Event Timeline

@matmarex seems like spam but quite a few of these are popping up since deploying T358112

@matmarex seems like spam but quite a few of these are popping up since deploying T358112

I don't think it's caused by those changes, but it's a very similar issue to that one.

Change 1005603 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/CentralAuth@master] SpecialCentralAuth: Handle invalid usernames

https://gerrit.wikimedia.org/r/1005603

Change 1005603 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] SpecialCentralAuth: Handle invalid usernames

https://gerrit.wikimedia.org/r/1005603

This doesn't really affect users, so I'm not planning to backport, but if the log noise becomes too much, feel free to do it.