Skip to content

Poco::HTMLForm throws exception HTMLFormException("Form must be prepared") even after form is prepared. #1337

@bakercp

Description

@bakercp

In cases where _encoding == ENCODING_URL and the HTMLForm::prepareSubmit(HTTPRequest& request) has been called, a call to HTMLForm::calculateContentLength() still throws a HTMLFormException("Form must be prepared") exception.

The solution appears to have HTMLForm::calculateContentLength() return 0 if _encoding == ENCODING_URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions