Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change routes.payload.multipart to false by default #3920

Closed
hueniverse opened this issue Feb 2, 2019 · 1 comment
Closed

Change routes.payload.multipart to false by default #3920

hueniverse opened this issue Feb 2, 2019 · 1 comment
Assignees
Labels
breaking changes Change that can breaking existing code
Milestone

Comments

@hueniverse
Copy link
Contributor

No description provided.

@hueniverse hueniverse added the breaking changes Change that can breaking existing code label Feb 2, 2019
@hueniverse hueniverse self-assigned this Feb 2, 2019
@hueniverse hueniverse added this to the 19.0.0 milestone Sep 14, 2019
@roderik
Copy link

roderik commented Mar 15, 2020

For people finding this issue, at this time the @types/hapi typescript types are still at 18.0.3 which does not accept true.

As an ugly workaround you can do

      payload: {
        output: 'stream',
        parse: true,
        allow: 'multipart/form-data',
        multipart: true,
      } as any,

pmcclory-contrast added a commit to Contrast-Security-OSS/NodeTestBenches that referenced this issue Mar 23, 2020
hapi19 defaulted multipart off -
hapijs/hapi#3920
bizob2828 pushed a commit to Contrast-Security-OSS/NodeTestBenches that referenced this issue Mar 24, 2020
hapi19 defaulted multipart off -
hapijs/hapi#3920
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking changes Change that can breaking existing code
Projects
None yet
Development

No branches or pull requests

2 participants