xowiki::kibana_url_rewrite (public)
xowiki::kibana_url_rewrite [ -target target ] [ -url url ] \ [ -query query ]
Defined in packages/xowiki/tcl/kibana-procs.tcl
Rewrite default url_rewrite_callback
- Switches:
- -target (optional)
- -url (optional)
- -query (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: #ns_log notice "=== kibana_url_rewrite; target $target query <$query>" set headers [ns_conn headers] # foreach {key value} [ns_set array $headers] {ns_log notice "====== $key: $value"} ns_set update $headers Host localhost:5602 ns_set idelkey $headers Sec-Fetch-Site if {$query ne ""} { append target ?$query append url ?$query } set granted [::xowiki::includelet::kibana check_permission $url] if {!$granted} { ns_returnforbidden set target "" } #ns_log notice "=== kibana_url_rewrite; final $target" return $targetXQL Not present: Generic, PostgreSQL, Oracle