From 7109f3a6da882a149b19e88050153fefca7052b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Wed, 22 Apr 2009 23:02:30 +0000 Subject: [PATCH] * permit access to images without login --- webcit/downloads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webcit/downloads.c b/webcit/downloads.c index 65ea69bb4..0c03ea0a9 100644 --- a/webcit/downloads.c +++ b/webcit/downloads.c @@ -436,8 +436,8 @@ InitModule_DOWNLOAD RegisterConditional(HKEY("COND:FILE:ISPIC"), 0, Conditional_FILE_ISPIC, CTX_FILELIST); - WebcitAddUrlHandler(HKEY("image"), output_image, 0); - WebcitAddUrlHandler(HKEY("display_mime_icon"), display_mime_icon , 0); + WebcitAddUrlHandler(HKEY("image"), output_image, ANONYMOUS); + WebcitAddUrlHandler(HKEY("display_mime_icon"), display_mime_icon , ANONYMOUS); WebcitAddUrlHandler(HKEY("download_file"), download_file, NEED_URL); WebcitAddUrlHandler(HKEY("delete_file"), delete_file, NEED_URL); WebcitAddUrlHandler(HKEY("upload_file"), upload_file, 0); -- 2.30.2