Skip to content

MD5's length must be 32, but checking with wrong number(36) #168

@mrimperieux

Description

@mrimperieux

In here, checking with 36

if len(fileId) != 36 && !strings.HasPrefix(fileId, "file_") {

if len(fileId) != 36 && !strings.HasPrefix(fileId, "file_") {

if len(fileId) != 36 && !strings.HasPrefix(fileId, "file_") {

In here, checking with 64

if !strings.HasPrefix(fileId, "file_") || len(fileId) > 64 {

Image Image Image

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