Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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