21.22 NOOP Function Signature 2

This function returns p_string (CLOB) unchanged. Use this function to silence automatic injection detection tests, similar to DBMS_ASSERT.NOOP for SQL injection.

Syntax

APEX_ESCAPE.NOOP (
    p_string    IN CLOB )
    udeterministic;

Parameters

Table 21-24 NOOP Parameters

Parameter Description
p_string The input text string.

Example

The following example shows how to use NOOP to show the developer's intention to explicitly not escape text.

BEGIN
    sys.htp.p(apex_escape.noop( to_clob('Cats & Dogs') ));
END;