![Inheritance graph](classTestRfc1738__inherit__graph.png)
![Collaboration graph](classTestRfc1738__coll__graph.png)
Protected Member Functions | |
void | testUrlDecode () |
void | testUrlEncode () |
void | PercentZeroNullDecoding () |
Private Member Functions | |
CPPUNIT_TEST_SUITE (TestRfc1738) | |
CPPUNIT_TEST (testUrlDecode) | |
CPPUNIT_TEST (testUrlEncode) | |
CPPUNIT_TEST (PercentZeroNullDecoding) | |
CPPUNIT_TEST_SUITE_END () | |
Detailed Description
Test the URL coder RFC 1738 Engine
Definition at line 21 of file testRFC1738.cc.
Member Function Documentation
◆ CPPUNIT_TEST() [1/3]
|
private |
◆ CPPUNIT_TEST() [2/3]
|
private |
◆ CPPUNIT_TEST() [3/3]
|
private |
◆ CPPUNIT_TEST_SUITE()
|
private |
◆ CPPUNIT_TEST_SUITE_END()
|
private |
◆ PercentZeroNullDecoding()
|
protected |
SECURITY BUG TESTS: avoid null truncation attacks by skipping %00 bytes
Definition at line 147 of file testRFC1738.cc.
References rfc1738_unescape(), xfree, and xstrdup.
◆ testUrlDecode()
|
protected |
Definition at line 41 of file testRFC1738.cc.
References rfc1738_unescape(), xfree, and xstrdup.
◆ testUrlEncode()
|
protected |
Public API is formed of a triplet of encode functions mapping to the rfc1738_do_encode() engine.
Flags: rfc1738_escape == 0 rfc1738_escape_unescaped == -1 rfc1738_escape_part == 1
Definition at line 110 of file testRFC1738.cc.
References rfc1738_do_escape(), RFC1738_ESCAPE_RESERVED, RFC1738_ESCAPE_UNESCAPED, and RFC1738_ESCAPE_UNSAFE.
The documentation for this class was generated from the following file:
- lib/tests/testRFC1738.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products