Skip to content

Commit

Permalink
Merge branch 'master' into feature/acl-link-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
acoburn authored Mar 7, 2020
2 parents 13bd18f + 6ab7251 commit b92b107
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ protected IRI getInternalId() {

@Override
protected String getIdentifier() {
return super.getIdentifier() + (HttpUtils.isContainer(getLdpType()) ? "/" : "")
final String iri = super.getIdentifier();
return iri + (HttpUtils.isContainer(getLdpType()) && !iri.endsWith("/") ? "/" : "")
+ (getExtensionGraphName() != null ? "?ext=" + getRequest().getExt() : "");
}

Expand Down

0 comments on commit b92b107

Please sign in to comment.