>>>>> "Randal" == Randal L Schwartz <[email protected]> writes:

>>>>> "Vivek" == Vivek Khera <[email protected]> writes:
Vivek> I still say that the browser will take care of that for you.

Randal> Only because it is making up for your mistake.  I say, don't do that.
Randal> Do the Right Thing, and you don't have to count on the reciever making
Randal> up for your deficiencies.

Randal> "Be conservative in what you emit, and liberal in what you accept."

And a place where this will seriously break.  Suppose you have
a file named fred%20flintstone.txt, and you "knew" that you didn't
need to escape things, so you sent that as-is.

Oh great, 404 when it comes back, because the browser no longer error
corrects for you, trying to fetch a file named "fred flintstone.com".

Seriously.  Do the Escaping.  It works.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to