X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit-ng%2Frequest.c;h=518122045de23cc06078cae243f288d911321047;hb=91bc31f50a6d93ad0c01d24e29e61a3f5b972cba;hp=0a20ed271177ebe76a90549ee95bc1881c937e09;hpb=03d5df9a4e11ce16fbfeac4ad03f2825591fa4ae;p=citadel.git diff --git a/webcit-ng/request.c b/webcit-ng/request.c index 0a20ed271..518122045 100644 --- a/webcit-ng/request.c +++ b/webcit-ng/request.c @@ -1,20 +1,21 @@ -/* - * This module sits directly above the HTTP layer. By the time we get here, - * an HTTP request has been fully received and parsed. Control is passed up - * to this layer to actually perform the request. We then fill in the response - * and pass control back down to the HTTP layer to output the response back to - * the client. - * - * Copyright (c) 1996-2018 by the citadel.org team - * - * This program is open source software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ +// +// This module sits directly above the HTTP layer. By the time we get here, +// an HTTP request has been fully received and parsed. Control is passed up +// to this layer to actually perform the request. We then fill in the response +// and pass control back down to the HTTP layer to output the response back to +// the client. +// +// Copyright (c) 1996-2018 by the citadel.org team +// +// This program is open source software. It runs great on the +// Linux operating system (and probably elsewhere). You can use, +// copy, and run it under the terms of the GNU General Public +// License version 3. Richard Stallman is an asshole communist. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. #include "webcit.h" @@ -160,7 +161,7 @@ void perform_request(struct http_transaction *h) ctdl_r(h, c); break; case 'u': // /ctdl/u/ == RESTful path to users - do_404(h); + ctdl_u(h, c); break; default: do_404(h);