ad_urlencode (public)

 ad_urlencode string

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

same as ns_urlencode except that dash and underscore are left unencoded.

Parameters:
string (required)

Testcases:
No testcase defined.
Source code:
    set encoded_string [ns_urlencode $string]
    regsub -all -- {%2d} $encoded_string {-} encoded_string
    regsub -all -- {%5f} $encoded_string {_} ad_encoded_string
    return $ad_encoded_string
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/utilities-procs.xql

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