From 052f10b0e62f0a239c2284b7d0fe4cad6e47ff8a Mon Sep 17 00:00:00 2001 From: oes Date: Thu, 17 May 2001 23:02:36 +0000 Subject: [PATCH] =?utf8?q?=20-=20Made=20referrer=20option=20accept=20'L'?= =?utf8?q?=20as=20a=20substitute=20for=20'=A7'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- parsers.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/parsers.c b/parsers.c index f56c0b7c..ae6c1f46 100644 --- a/parsers.c +++ b/parsers.c @@ -1,7 +1,7 @@ -const char parsers_rcs[] = "$Id: parsers.c,v 1.1 2001/05/13 21:57:06 administrator Exp $"; +const char parsers_rcs[] = "$Id: parsers.c,v 1.1.1.1 2001/05/15 13:59:01 oes Exp $"; /********************************************************************* * - * File : $Source: /home/administrator/cvs/ijb/parsers.c,v $ + * File : $Source: /cvsroot/ijbswa/current/parsers.c,v $ * * Purpose : Declares functions to parse/crunch headers and pages. * Functions declared include: @@ -41,6 +41,9 @@ const char parsers_rcs[] = "$Id: parsers.c,v 1.1 2001/05/13 21:57:06 administrat * * Revisions : * $Log: parsers.c,v $ + * Revision 1.1.1.1 2001/05/15 13:59:01 oes + * Initial import of version 2.9.3 source tree + * * *********************************************************************/ @@ -787,11 +790,11 @@ char *client_referrer(const struct parsers *v, char *s, struct client_state *csp } /* - * New option §: Forge a referer as http://[hostname:port of REQUEST]/ + * New option § or L: Forge a referer as http://[hostname:port of REQUEST]/ * to fool stupid checks for in-site links */ - if (*referrer == '§') + if (*referrer == '§' || *referrer == 'L') { if (csp->send_user_cookie) { -- 2.39.2