vorburger commented on a change in pull request #1090:
URL: https://github.com/apache/fineract/pull/1090#discussion_r443158341
##########
File path:
fineract-provider/src/main/java/org/apache/fineract/infrastructure/security/filter/TenantAwareTenantIdentifierFilter.java
##########
@@ -97,7 +97,7 @@ public void doFilter(final ServletRequest req, final
ServletResponse res, final
// allows for Cross-Origin
// Requests (CORs) to be performed against the platform API.
- response.setHeader("Access-Control-Allow-Origin", "*");
+ response.setHeader("Access-Control-Allow-Origin",
"Fineract-Platform-TenantId");
Review comment:
> entered what seemed most logical in the class.
I don't think this hard-coded String (`Fineract-Platform-TenantId`) makes
any sense at all, and I suspect that this would break UI clients.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]