21.21 NOOP Function Signature 1

This function returns p_string 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 VARCHAR2 )
    return VARCHAR2 deterministic;

Parameters

Table 21-23 NOOP Parameters

Parameter Description
p_string The input text string.

Example

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

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