This procedure is defined in the server but not documented via ad_proc or proc_doc and may be intended as a private interface.

The procedure is defined as:

proc nsmcp::warningUserAgent {text redactor} {
    
    if {![regexp -line {^:[ \t]+(?:GET|POST|HEAD|PUT|DELETE|OPTIONS|PATCH|CONNECT|TRACE) [^\r\n]* user_id [^ \t\r\n]+ user_agent ([^ \t\r\n]*) user_agent_truncated ([01])[ \t]*$} $text -> encoded truncated]} {
        return {}
    }
    # Bound the encoded representation as well as the decoded header.
    if {[string length $encoded] > 12288
        || [regexp {["\\]} $encoded]
        || [regexp {%(?![0-9A-Fa-f]{2})} $encoded]
        || [catch {
        ns_urldecode -- $encoded
    } value]
        || [string length $value] > 1024} {
        return {}
    }
    return [dict create userAgent [$redactor message $value] userAgentSource system-log userAgentMayBeTruncated $truncated]

}

Show another procedure: