Is that ns_quotehtml in AOLserver 4.0 or 3.3 or both? We're still supporting AOLserver 3.3 so can't switch to ns_quotehtml unless we know it is correct in all the versions we support.
It sounds like we may want to deprecate ad_quotehtml in OACS 5.1 while rewriting it to call ns_quotehtml (and rewriting calls to ad_quotehtml as folks think of it).
Sound right?
Also instead of ad_export_url_vars we should use the export_vars proc as someone else recommended above. It works for both URL and FORM vars (URL by default), allows assigning of values in the call, etc.