1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

improved url domain matching for multi-tenant deployments

This commit is contained in:
Harvey Kandola 2017-09-08 19:41:46 +01:00
parent e92ad317d8
commit 2386dcbd83
3 changed files with 650 additions and 632 deletions

View file

@ -41,6 +41,7 @@ func (h *Handler) Meta(w http.ResponseWriter, r *http.Request) {
org, err := h.Store.Organization.GetOrganizationByDomain(data.URL)
if err != nil {
h.Runtime.Log.Error("unable to fetch request meta for "+data.URL, err)
response.WriteForbiddenError(w)
return
}