Skip to content

Bundle "folder" should be URI escaped #4

@stain

Description

@stain

A confusion point has been identified for the bundledAs section:

folder
A folder in the bundle this resource belongs to. This member MUST be present if filename is given, and MAY be present alone. The path SHOULD be prefixed with / and SHOULD end with /, for instance /folder2/ or /. The folder SHOULD be a directory in the zip archive.

This item is interpreted in JSON-LD as a URI reference, and so should be URI escaped just like uri, e.g. "/folder/with%20spaces".

On the other hand (and perhaps confusing), filename is just the value of the filename within the folder, and should NOT be URI escaped. This is not clearly indicated, although it does say:

The filename should not contain the characters /, : or , but MAY contain spaces and international characters.

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