Skip to content

Bug: "Blocked author details" is not saved - request payload sends blockedAuthorProps: [""] #368

@maxkonoplin

Description

@maxkonoplin

The Comments plugin admin setting "Blocked author details" (comma-separated) is supposed to filter out author fields (e.g. email, id) from public comments API responses.

However, when saving the configuration, the entered value is not persisted into the expected field. In DevTools → Network, the save request payload shows:

  • blockedAuthorProps: [""] (empty string in an array)
  • while the entered value (e.g. email) ends up in a different field: blockedProps: "email"

As a result, public endpoints still return author.email.

Image

Environment

  • "@strapi/strapi": "5.33.1",
  • "strapi-plugin-comments": "^3.1.2",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions