Skip to content

Form::validateMaxPostSize() never called #30

Open

Description

@Ciki

I think validateMaxPostSize method is actually never called in case POST data exceeds $_SERVER['CONTENT_LENGTH'].
It is meant to be called from validate() which is called from fireEvents but it can never be called due this condition as it calls https://github.com/nette/application/blob/master/src/Application/UI/Form.php#L108 which returns always FALSE in that case

Activity

  1. JanTvrdik commented on Aug 2, 2014

    @JanTvrdik
    Contributor

    How could POST data exceed $_SERVER['CONTENT_LENGTH']? Maybe related https://github.com/nette/nette/pull/793/files

  2. Ciki commented on Aug 2, 2014

    @Ciki
    ContributorAuthor

    Yes, it is related, thanks! POST data can be exceeded if you try to upload too large file

  3. dg commented on Aug 6, 2014

    @dg
    Member

    Hmm, this is related to 2.2, because of this nette/application@1f492cf

  4. added this to the milestone on Feb 16, 2015
  5. modified the milestones: v3.0, on Jun 21, 2017
  6. modified the milestones: v3.0, v3.1 on Apr 20, 2020
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions