Return-Path: Delivered-To: apmail-modperl-cvs-archive@apache.org Received: (qmail 97752 invoked by uid 500); 20 Feb 2003 06:52:09 -0000 Mailing-List: contact modperl-cvs-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@perl.apache.org Delivered-To: mailing list modperl-cvs@apache.org Received: (qmail 97741 invoked from network); 20 Feb 2003 06:52:09 -0000 Date: 20 Feb 2003 06:52:10 -0000 Message-ID: <20030220065210.54195.qmail@icarus.apache.org> From: stas@apache.org To: modperl-cvs@apache.org Subject: cvs commit: modperl/Apache Apache.pm X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N stas 2003/02/19 22:52:10 Modified: Apache Apache.pm Log: add a note that the original string passed to Apache::unescape_url is mangled, so only the return value should be used. Revision Changes Path 1.73 +6 -1 modperl/Apache/Apache.pm Index: Apache.pm =================================================================== RCS file: /home/cvs/modperl/Apache/Apache.pm,v retrieving revision 1.72 retrieving revision 1.73 diff -u -r1.72 -r1.73 --- Apache.pm 13 Aug 2002 03:18:48 -0000 1.72 +++ Apache.pm 20 Feb 2003 06:52:10 -0000 1.73 @@ -1209,7 +1209,12 @@ =item Apache::unescape_url($string) -Handy function for unescapes. Use this one for filenames/paths. + $unescaped_url = Apache::unescape_url($string) + +Handy function for unescapes. Use this one for +filenames/paths. Notice that the original C<$string> is mangled in the +process (because it shrinks). + Use unescape_url_info for the result of submitted form data. =item Apache::unescape_url_info($string)