Skip to content

From Discord: Multipart schema validation fails with macOS default screenshot upload via HTML form #6118

@effect-bot

Description

@effect-bot

Summary

User discovered that using HttpApiSchema.Multipart to validate file uploads from an HTML form fails specifically when uploading macOS default screenshot files. The validation error indicates the 'photos' field is missing, which does not occur with normally named files like 'foo.png'. The root cause appears to be related to the filename format of macOS screenshots. This issue seems more related to platform behavior than schema implementation and will be reported to the project maintainer Tim. A related GitHub issue (#5321) and a reproducible example on effect.website were also shared.

Discord thread

https://discord.com/channels/795981131316985866/1480026590699327734

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions