Skip to content
Snippets Groups Projects
Commit 471eeb87 authored by deuce's avatar deuce
Browse files

Log warnings whenever an access.ars is used.

parent 238fea76
No related branches found
No related tags found
No related merge requests found
......@@ -2285,6 +2285,8 @@ static BOOL check_request(http_session_t * session)
sprintf(str,"%saccess.ars",curdir);
if(!stat(str,&sb)) {
/* NEVER serve up an access.ars file */
lprintf(LOG_WARN,"%04d !WARNING! access.ars support is depreciated and will be REMOVED very soon.",session->socket);
lprintf(LOG_WARN,"%04d !WARNING! access.ars found at %s.",session->socket,str);
if(!strcmp(path,str)) {
send_error(session,"403 Forbidden");
return(FALSE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment