Is it practical/efficient for Apache::ASP to automatically scan <A HREF>
tags?

I had an idea about an automatic URL Encoding option. The idea is that
someone types "PerlSetVar URLEncode 1" in their httpd.conf. Then,
Apache::ASP will automatically call $Server->URLEncode() on every <A HREF>
tag.

Applications that generate a lot of GET URLs would benefit from this, e.g.
instead of:

<a 
href="program.asp?param1=<%=$Server->URLEncode($param1)%>&amp;param2=<%=$Server->URLEncode($param2)">

one could then write:

<a href="program.asp?param1=<%=$param1%>&param2=<%=$param2%>">

-Philip Mak ([EMAIL PROTECTED])


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to