{
  "id": "python/flask-blueprint-url-prefix-double-slash",
  "signature": "404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.",
  "signature_zh": "404 未找到：服务器上找不到请求的 URL。如果手动输入了 URL，请检查拼写并重试。",
  "regex": "404\\ Not\\ Found:\\ The\\ requested\\ URL\\ was\\ not\\ found\\ on\\ the\\ server\\.\\ If\\ you\\ entered\\ the\\ URL\\ manually\\ please\\ check\\ your\\ spelling\\ and\\ try\\ again\\.",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "Blueprint registered with url_prefix='/api/' and route '/items' produces '/api//items'; client requests '/api/items'.",
  "root_cause_type": "generic",
  "root_cause_zh": "蓝图以 url_prefix='/api/' 注册，路由为 '/items'，生成 '/api//items'；客户端请求 '/api/items'。",
  "versions": [
    {
      "version": "2.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Does not fix the doubled slash.",
      "fail_rate": 0.75,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Masks the real prefix bug and creates security surface.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "app.register_blueprint(bp, url_prefix='/api')  # no trailing slash",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Print app.url_map to verify generated rules: print(app.url_map)",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.83,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-05-14",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}