[zanata/zanata-server] db79c8: Disable CORS headers if originWhitelist is not set

GitHub noreply at github.com
Wed May 18 04:57:02 UTC 2016


  Branch: refs/heads/ZNTA-1042-CORS-system-property
  Home:   https://github.com/zanata/zanata-server
  Commit: db79c8d34c1d1529d7499ec567efe1debba2bb8f
      https://github.com/zanata/zanata-server/commit/db79c8d34c1d1529d7499ec567efe1debba2bb8f
  Author: Sean Flanigan <sflaniga at redhat.com>
  Date:   2016-05-18 (Wed, 18 May 2016)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/rest/ZanataRestResponseInterceptor.java

  Log Message:
  -----------
  Disable CORS headers if originWhitelist is not set

Also disable CORS response headers if Origin header is missing from
request.




More information about the zanata-commits mailing list