Forum OpenACS Development: Re: ad_quotehtml speed improvement

Posted by Tom Jackson on

So export_vars is the new thing to use, but what happens when you want the form vars variety and one of the vars is return_url? Obviously you need to use ;noquote, but, ummm, you need to quote the value of return_url since it might contain &. This is why I was suggesting to use ';' instead of the & to separate url vars. Doesn't anyone think it is strange that the uri and html were designed by essentially the same guy, and this is actually an issue? Yet somehow the web developed even with this major flaw. The main result of the flaw appears to be that some guy somewhere had to rearrange his url to read

<A href='calculate-resistance?amp=2&volt=2'>blablabla</A>