security::get_uri_part (private)

 security::get_uri_part url

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

Get the URI following the location of the given URL. Assumes the given URL has the "http" or "https" protocol or is a relative URL.

Parameters:
url
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 security::get_qualified_uri_part security::get_qualified_uri_part (private) security::get_uri_part security::get_uri_part security::get_qualified_uri_part->security::get_uri_part

Testcases:
No testcase defined.
Source code:
    regexp {^(?:http[s]?://[^/]+)?(.*)} $url match uri

    return $uri
Generic XQL file:
packages/acs-tcl/tcl/security-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/security-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/security-procs-oracle.xql

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