Skip to content

Add limit on output limit for site-managed problems #2447

@kiritofeng

Description

@kiritofeng

There should be a limit set on the output length limit for site-managed problems, and verified whenever a user tries to save the configuration.

This should be configurable in settings.py, and default to 100MB. This is to prevent users from shooting themselves in the foot when they set a 2GB output length limit and crash a judge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions