dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #43020
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21888: Add Location to list of exposed CORS headers
------------------------------------------------------------
revno: 21888
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2016-02-05 10:54:36 +0700
message:
Add Location to list of exposed CORS headers
modified:
dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/filter/CorsFilter.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/filter/CorsFilter.java'
--- dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/filter/CorsFilter.java 2016-01-04 02:27:49 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/security/filter/CorsFilter.java 2016-02-05 03:54:36 +0000
@@ -66,7 +66,7 @@
public static final String CORS_REQUEST_METHOD = "Access-Control-Request-Method";
public static final String CORS_ORIGIN = "Origin";
- private static final String EXPOSED_HEADERS = "ETag";
+ private static final String EXPOSED_HEADERS = "ETag Location";
private static final Integer MAX_AGE = 60 * 60; // 1hr max-age