To escape a value in VDF, use the following syntax: ${request:html:url_escape(astring=...)}
Example: ${request:html:url_escape(astring=${request:get_cmd_arg(argname='doc_name')})}
Example: ${request:html:url_escape(astring=${request:get_cmd_arg(argname='doc_name')})}