Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

Commit bd17e196 authored by rswindell's avatar rswindell

Return a 404 error when receiving an HTTP request for an invalid message

group. Resolves error line 31: TypeError: msg_area.grp[grp] is undefined
parent addc4b4b
......@@ -28,6 +28,11 @@ else {
if(!msg_area.grp[grp]) {
http_reply.status="404 Not Found";
write("<html><head><title>404 Error</title></head><body>Message group " + grp + " does not exist</body></html>");
template.title="Message Subs in Group: "+msg_area.grp[grp].description;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment