Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 9796 invoked by uid 6000); 19 Jun 1998 04:59:23 -0000 Received: (qmail 9786 invoked from network); 19 Jun 1998 04:59:22 -0000 Received: from twinlark.arctic.org (204.62.130.91) by taz.hyperreal.org with SMTP; 19 Jun 1998 04:59:22 -0000 Received: (qmail 22420 invoked by uid 500); 19 Jun 1998 05:13:39 -0000 Date: Thu, 18 Jun 1998 22:13:39 -0700 (PDT) From: Dean Gaudet To: Apache Developers Subject: Re: [PATCH] Fixing ap_escape_quotes In-Reply-To: <3589DF2C.BBE39A68@Golux.Com> Message-ID: X-Comment: Visit http://www.arctic.org/~dgaudet/legal for information regarding copyright and disclaimer. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Um... I think it sucks to take a routine which can handle arbitrary length inputs and turn it into something that has an upper limit. -1. If the pool thing bothers you then move ap_escape_quotes to util.c. Dean On Thu, 18 Jun 1998, Rodent of Unusual Size wrote: > /* > - * Given a string, replace any bare " with \" . > + * Given a string, replace any bare " with \" . If the result is longer than > + * the output buffer, return NULL, otherwise the pointer to the output > string. > + * The size is that of the complete buffer, including the byte for the > + * terminal '\0'. > */