Flagsmith/flagsmith

Insufficient validation in ` /api/v1/projects/{project_pk}/features/{feature_pk}/mv-options/`

开放

#6,615 创建于 2026年1月28日

 (0 条评论) (0 个反应) (0 位负责人)Python (264 个派生)batch import
apigood first issue

仓库指标

星标
 (3,475 个星标)
PR 合并指标
 (平均合并 3天 7小时) (30 天内合并 157 个 PR)

描述

Sentry Issue: FLAGSMITH-API-5GZ

KeyError: 'default_percentage_allocation'
(9 additional frame(s) were not displayed)
...
  File "features/multivariate/views.py", line 89, in create
    return super().create(request, *args, **kwargs)
  File "features/multivariate/serializers.py", line 68, in validate
    total_sibling_percentage_allocation + attrs["default_percentage_allocation"]

贡献者指南