Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #24637

Closed (moved)
(moved)
Open
Created Dec 15, 2017 by Mark Smith@mcs

moat: incorrect response if no bridges available

Kathy and I are working on Moat client edge cases today :) If a transport type that BridgeDB supports is requested and the correct CAPTCHA solution is provided in a /check request, the response is a moat-bridges response that includes an empty bridges array, like this:

{
  "data": [
    {
      "qrcode": null,
      "bridges": [],
      "version": "0.1.0",
      "type": "moat-bridges",
      "id": 3
    }
  ]
}

However, the Moat protocol spec says we will receive a 404 error response. Either response will do the job, but we need to make sure client and server are in agreement.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking