Re: [Templates] Accessing files from templates

[prev] [thread] [next] [Date index for 2005/01/31]

From: Mark Mills
Subject: Re: [Templates] Accessing files from templates
Date: 23:03 on 31 Jan 2005
Randal L. Schwartz wrote:

> Josh> The browser should handle this fine if you just encode the html 
> entities.
>
>Josh> If it's in an input you will have:
>
>Josh> <input value="face of &quot;fred&quot;.gif"> and the browser should
>Josh> take care of uri encoding.
>
>Oh, you mean you think it's OK to send garbage (illegal according
>to the RFCs), and count on the error-correcting features of a browser
>to work properly when you've sent out garbage.
>
>OK, I'll just ignore the garbage I'm getting from you then, and correct
>the errors for the other readers of this list who believe in doing
>things according to the specs.
>  
>
How about this as a better example to make your point, Randal?

face of fred?.gif

;)

Oh wait, even better example:

face of "fred&bill?" ;).gif

Of course, I can't find any set of built-in filters that escapes either 
of them correctly. *grin*

http://hostile.org/images/face%20of%20%22fred%3F%22.gif
http://hostile.org/images/face%20of%20%22fred%26bill%3F%22%20%3B).gif

Still, more filtering is better... always.

        -- 
        Mark D. Mills
Xodiax (a peak 10 company)
http://www.xodiax.com/
http://www.peak10.com/


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

(message missing)

[Templates] Accessing files from templates
Johan Vromans 21:22 on 29 Jan 2005

Re: [Templates] Accessing files from templates
Perrin Harkins 02:56 on 30 Jan 2005

[Templates] Re: Accessing files from templates
Johan Vromans 08:46 on 30 Jan 2005

Re: [Templates] Re: Accessing files from templates
Perrin Harkins 14:13 on 30 Jan 2005

Re: [Templates] Accessing files from templates
merlyn (Randal L. Schwartz) 12:14 on 30 Jan 2005

Re: [Templates] Accessing files from templates
Vivek Khera 04:10 on 31 Jan 2005

Re: [Templates] Accessing files from templates
merlyn (Randal L. Schwartz) 20:09 on 31 Jan 2005

Re: [Templates] Accessing files from templates
Vivek Khera 20:38 on 31 Jan 2005

Re: [Templates] Accessing files from templates
merlyn (Randal L. Schwartz) 21:04 on 31 Jan 2005

Re: [Templates] Accessing files from templates
Josh Rosenbaum 20:59 on 31 Jan 2005

Re: [Templates] Accessing files from templates
merlyn (Randal L. Schwartz) 21:01 on 31 Jan 2005

Re: [Templates] Accessing files from templates
Mark Mills 23:03 on 31 Jan 2005

Re: [Templates] Accessing files from templates
Josh Rosenbaum 23:40 on 31 Jan 2005

Re: [Templates] Accessing files from templates
Bill Moseley 22:05 on 02 Feb 2005

Re: [Templates] Accessing files from templates
Bill Moseley 16:49 on 30 Jan 2005

RE: [Templates] Accessing files from templates
Jason Gottshall 18:15 on 31 Jan 2005

Re: [Templates] Accessing files from templates
merlyn (Randal L. Schwartz) 19:14 on 01 Feb 2005

Re: [Templates] Accessing files from templates
Josh Rosenbaum 21:40 on 31 Jan 2005

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52