NOOP Function

Return 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 9-9 describes the parameters available in the NOOP function.


Table 9-9 APEX_ESCAPE.NOOP Function 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;