Max_oneboxes_per_post is not honored in the composer preview

AI-generated summary

RGJ reports that the max_oneboxes_per_post setting is ignored in the composer preview, causing the preview to be an inaccurate representation of the final post. This issue is particularly concerning when oneboxes are disabled for security reasons, as authors do not receive immediate feedback on their actions. zogstrip acknowledges the report and confirms that the bug, along with several others, will be fixed in a pending pull request.

Problem

The setting max_oneboxes_per_post is not being honored in the composer preview.

Consequences

  • the preview is not an accurate representation of what the post will look like
  • disabling oneboxes for security reasons will not have any effect for post authors

Reproduction

Set max_oneboxes_per_post to zero, create a post with contents below and see what happens

https://www.youtube.com/watch?v=3BFTio5296w&list=RD3BFTio5296w&index=1
1 Like

thanks for the report @RGJ :+1:

this will be fixed, along with many other bugs, in

2 Likes