Use ad_urlencode_path and ad_urlencode_query instead of ns_urlencode in export_vars and export_entire_form_as_url_vars. This way URL is encoded properly and we avoid a bug when variables called "--" or with value "--" are exported.
- use [util_current_location] instead of host-header field to show correct host also when no host header field is available - use wildcard matching for driver names to detect protocol in case multiple drivers of the same type are loaded with names with different suffixes