#include <testRFC1738.h>

Inheritance diagram for testRFC1738:
Collaboration diagram for testRFC1738:

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 17 of file testRFC1738.h.

Member Function Documentation

testRFC1738::CPPUNIT_TEST ( testUrlDecode  )
private
testRFC1738::CPPUNIT_TEST ( testUrlEncode  )
private
testRFC1738::CPPUNIT_TEST ( PercentZeroNullDecoding  )
private
testRFC1738::CPPUNIT_TEST_SUITE ( testRFC1738  )
private
testRFC1738::CPPUNIT_TEST_SUITE_END ( )
private
void testRFC1738::PercentZeroNullDecoding ( )
protected

SECURITY BUG TESTS: avoid null truncation attacks by skipping %00 bytes

Definition at line 127 of file testRFC1738.cc.

References rfc1738_unescape(), xfree, and xstrdup.

void testRFC1738::testUrlDecode ( )
protected

Definition at line 21 of file testRFC1738.cc.

References rfc1738_unescape(), xfree, and xstrdup.

void testRFC1738::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 90 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 files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors