Page MenuHomePhabricator

Special:Captcha/image throws 500s/Internal Error for unknown captcha images
Closed, ResolvedPublic

Description

Visiting https://en.wikipedia.org/wiki/Special:Captcha/image or e.g. http://en.wikipedia.org/w/index.php?title=Special%3ACaptcha%2Fimage&wpCaptchaId=167501434 results in a 500 which a) produces graph noise & alerts, b) is uncacheable.

This isn't an internal server error as it's clearly properly handled on the server side. A 4xx range error code should be emitted; possibly even 404.

Event Timeline

faidon raised the priority of this task from to Needs Triage.
faidon updated the task description. (Show Details)
faidon added a project: MediaWiki-General.
faidon added a subscriber: faidon.
Aklapper triaged this task as Medium priority.Mar 17 2015, 12:03 PM

Change 197483 had a related patch set uploaded (by Florianschmidtwelzow):
FancyCaptcha: Don't return status code 500, if no server error

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

Change 197483 merged by jenkins-bot:
FancyCaptcha: Don't return status code 500, if no server error

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