Skip to content

Validate pin origins #536

@alanshaw

Description

@alanshaw

When adding/replacing pins with the pinning service API...

We currently put these in the DB without validating the data is an array of mutliaddr.

Note: should be array of strings max 20 as per https://ipfs.github.io/pinning-services-api-spec/#tag/pins/paths/~1pins/post

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: Good to have, but can wait until someone steps upkind/bugA bug in existing code (including security flaws)pi/support-0pi/upload-v2stack/api-protocols

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions