From 213f0d62f129e0bcf736a313efc4bf85d9406773 Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Fri, 6 Oct 2006 15:37:39 +0000 Subject: r19139: typos; consitent ordering of operations (This used to be commit aaab47cb910fbbec6913bc5f796f0d6d479f729d) --- source4/web_server/http.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source4/web_server/http.c b/source4/web_server/http.c index 43da3c9416..f9867a152a 100644 --- a/source4/web_server/http.c +++ b/source4/web_server/http.c @@ -548,11 +548,13 @@ static void jsonrpc_request(struct esp_state *esp) } /* - perform pre-authentication on every page is /scripting/preauth.esp + perform pre-authentication on every page if /scripting/preauth.esp exists. If this script generates any non-whitepace output at all, then we don't run the requested URL. - note that the preauth is run even for static pages such as images. + note that the preauth is run even for static pages such as images, but not + for JSON-RPC service requests which do their own authentication via the + JSON-RPC server. */ static BOOL http_preauth(struct esp_state *esp) { @@ -900,13 +902,13 @@ void http_process_input(struct websrv_context *web) } for (i=0;p && i