Skip to content

.acl resource created with POST are created as .acl.ttl #1298

Description

@bourgeoa

since NSSv5.1.6 : (if created with POST) .acl resources are created as .acl.ttl

Creation of resource using POST with a slug with extension (.meta, .acl, any file with extension - for exemple /foo.ttl are all created with a double extension : .meta.ttl, .acl.ttl, foo.ttl.ttl).
This is due to the fact that contentType is now mandatory.
In ldp.getAvailableUrl the filename = slug +extension should depend on the fact that slug as already an extension to avoid a double extension

PR #1282 fixes this issue in ldp.js
a test should be added to POST tests

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