summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/web_server/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/web_server/http.c b/source4/web_server/http.c
index 314d919357..981457c535 100644
--- a/source4/web_server/http.c
+++ b/source4/web_server/http.c
@@ -822,6 +822,8 @@ void http_process_input(struct websrv_context *web)
esp->req = espCreateRequest(web, web->input.url, esp->variables);
if (esp->req == NULL) goto internal_error;
+ smb_setup_ejs_constants(esp->req->eid);
+
/* work out the mime type */
p = strrchr(web->input.url, '.');
if (p == NULL) {