Skip to content

Missing base path in JSON-LD response #476

Closed

Description

@csarven

curl -iH"Accept: application/ld+json" https://example.org/container/ returns a JSON-LD body like:

[
  {
    "@id": "https://example.org",
    "http://www.w3.org/ns/ldp#contains": [
      {
        "@id": "https://example.orgdc354280-cb7c-11e6-9c08-3d5cf446a570"
      }
    ]
  }
]

The expected response is:

[
  {
    "@id": "https://example.org/container/",
    "http://www.w3.org/ns/ldp#contains": [
      {
        "@id": "https://example.org/container/dc354280-cb7c-11e6-9c08-3d5cf446a570"
      }
    ]
  }
]

Activity

  1. dmitrizagidulin commented on Dec 26, 2016

    @dmitrizagidulin
    Contributor

    Wow, good catch

  2. dmitrizagidulin commented on Jan 23, 2017

    @dmitrizagidulin
    Contributor

    This bug actually also affects all the other serializations - Turtle, NTriples, etc.

  3. dmitrizagidulin commented on Aug 16, 2017

    @dmitrizagidulin
    Contributor

    Addressed by PR #496

  4. added this to the 4.0.0 milestone on Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions