MARMOTTA-609: fixed, to be improved by MARMOTTA-610
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/228f79a0 Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/228f79a0 Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/228f79a0 Branch: refs/heads/MARMOTTA-588 Commit: 228f79a079c8a65508090c767f8435bba1c78384 Parents: 4386bb1 Author: Sergio Fernández <[email protected]> Authored: Tue May 5 10:35:15 2015 +0200 Committer: Sergio Fernández <[email protected]> Committed: Tue May 5 10:35:15 2015 +0200 ---------------------------------------------------------------------- .../apache/marmotta/platform/ldp/webservices/LdpWebService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/228f79a0/platform/marmotta-ldp/src/main/java/org/apache/marmotta/platform/ldp/webservices/LdpWebService.java ---------------------------------------------------------------------- diff --git a/platform/marmotta-ldp/src/main/java/org/apache/marmotta/platform/ldp/webservices/LdpWebService.java b/platform/marmotta-ldp/src/main/java/org/apache/marmotta/platform/ldp/webservices/LdpWebService.java index faca755..0f7f251 100644 --- a/platform/marmotta-ldp/src/main/java/org/apache/marmotta/platform/ldp/webservices/LdpWebService.java +++ b/platform/marmotta-ldp/src/main/java/org/apache/marmotta/platform/ldp/webservices/LdpWebService.java @@ -706,7 +706,7 @@ public class LdpWebService { builder.header(HTTP_HEADER_ACCEPT_PATCH, RdfPatchParser.MIME_TYPE); } - //FIXME: this was not supposed to be done by the filter? + //TODO: do it via the cors filter (MARMOTTA-610) builder.header(HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN, configurationService.getStringConfiguration("ldp.allow_origin", "*")); return builder;
