[Bug 32125] Should support auth using captcha

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 14 11:41:51 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=32125

--- Comment #38 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-02-14 02:41:51 PST ---
At the moment, Label and Language are mandatory. This comes from me having an XMPP mindset, but is wrong.

Consider this situation:

* the protocol is not XMPP, and is hard-coded to always have an "ocr"
  challenge

* because of that, the server does not send a label for the challenge:
  UIs for this protocol are expected to label it appropriately

* the user's locale is (say) German

We don't want the CM to generate a label corresponding to "ocr", because CMs are locale-neutral (not localized), so that label would have to be in the C locale
(American/programmer English). The UI would display it, because it doesn't know it didn't come from the server - so the user gets instructions in English, not
German.

I think we want these semantics:

* The Label for any captcha except "qa" may be ''. If so, the UI SHOULD
  generate a label in the user's locale; it MAY use the strings
  suggested in XEP-0158. Captchas of type "qa" with an empty Label
  are meaningless, and SHOULD NOT be generated or displayed.

* The Language may be '', which indicates that the language of the labels
  (if any) is unknown.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.



More information about the telepathy-bugs mailing list