HomePhabricator

Handle CAPTCHAs with different mime types different

Authored by Florian.

Description

Handle CAPTCHAs with different mime types different

ConfirmEdit supports different CAPTCHA modules, which return different
CAPTCHAs. MobileFrontend actually supports only images as CAPTCHAs.

This change adds support for text based CAPTCHAs, like text/plain
(SimpleCaptcha and QuestyCaptcha) and text/tex (MathCaptcha), as well
as image based CAPTCHAs, like image/png (FancyCaptcha and ReCaptcha) and
image/jpg (not used, yet).

Extra points:

  • Fix a FIXME

Bug: T105617
Change-Id: Ica9e4ed7ce4af20822fd7969508e2fcbf3145256

Details

Committed
FlorianJul 21 2015, 3:43 PM
Parents
rEMFR949ade7069ba: Always show a logo on Login/Create page
Branches
Unknown
Tags
Unknown
References
refs/changes/95/224295/4
ChangeId
Ica9e4ed7ce4af20822fd7969508e2fcbf3145256