~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to test-suite/rfc1738.cc

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2009-09-24 14:51:06 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (20.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090924145106-38jgrzmj0d73pha5
Tags: 3.1.0.13-1
* Upload to experimental

* New upstream release
  - Fixes Follow-X-Forwarded-For support (Closes: #523943)
  - Adds IPv6 support (Closes: #432351)

* debian/rules
  - Removed obsolete configuration options
  - Enable db and radius basic authentication modules

* debian/patches/01-cf.data.debian
  - Adapted to new upstream version

* debian/patches/02-makefile-defaults
  - Adapted to new upstream version

* debian/{squid.postinst,squid.rc,README.Debian,watch}
  - Updated references to squid 3.1

* debian/squid3.install
  - Install CSS file for error pages
  - Install manual pages for new authentication modules

* debian/squid3-common.install
  - Install documented version of configuration file in /usr/share/doc/squid3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
 
 * $Id: rfc1738.cc,v 1.1 2003/04/22 01:37:44 robertc Exp $
 
3
 * $Id$
4
4
 *
5
5
 * DEBUG: section xx    RFC 1738 string [un]escaping
6
6
 * AUTHOR:  Robert Collins
21
21
 *  it under the terms of the GNU General Public License as published by
22
22
 *  the Free Software Foundation; either version 2 of the License, or
23
23
 *  (at your option) any later version.
24
 
 *  
 
24
 *
25
25
 *  This program is distributed in the hope that it will be useful,
26
26
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
27
27
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28
28
 *  GNU General Public License for more details.
29
 
 *  
 
29
 *
30
30
 *  You should have received a copy of the GNU General Public License
31
31
 *  along with this program; if not, write to the Free Software
32
32
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
36
36
 
37
37
#include "squid.h"
38
38
#include "util.h"
39
 
/* testing: 
 
39
/* testing:
40
40
SQUIDCEXTERN char *rfc1738_escape(const char *);
41
41
SQUIDCEXTERN char *rfc1738_escape_unescaped(const char *);
42
42
SQUIDCEXTERN char *rfc1738_escape_part(const char *);
59
59
    escapedString = xstrdup (aString);
60
60
    rfc1738_unescape(escapedString);
61
61
    if (strcmp(escapedString, aResult))
62
 
        exit (1);
 
62
        exit (1);
63
63
    safe_free (escapedString);
64
64
}
65
65