util::suspicious_query_variable (public)

 util::suspicious_query_variable [ -proc proc ] key [ value ]

Defined in packages/acs-tcl/tcl/utilities-procs.tcl

Guess if a query variable was encoded twice

Switches:
-proc (optional)
Parameters:
key (required)
value (optional)
Returns:
boolean result

Partial Call Graph (max 5 caller/called nodes):
%3 ad_dimensional ad_dimensional (public) util::suspicious_query_variable util::suspicious_query_variable ad_dimensional->util::suspicious_query_variable packages/xotcl-core/www/show-object.tcl packages/xotcl-core/ www/show-object.tcl packages/xotcl-core/www/show-object.tcl->util::suspicious_query_variable util::skip_suspicious_query_vars util::skip_suspicious_query_vars (private) util::skip_suspicious_query_vars->util::suspicious_query_variable xo::update_query xo::update_query (private) xo::update_query->util::suspicious_query_variable xo::update_query_variable xo::update_query_variable (private) xo::update_query_variable->util::suspicious_query_variable util::request_info util::request_info (public) util::suspicious_query_variable->util::request_info

Testcases:
No testcase defined.
Source code:
    set result 0
    if {[string match "*amp;*" $key]} {
        ns_log notice $proc  "ignore suspect query variable with key <$key> value <$value>\n"  [util::request_info]
        set result 1
    }
    return $result
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/utilities-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: