Re: [Templates] Accessing files from templates

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

From: Josh Rosenbaum
Subject: Re: [Templates] Accessing files from templates
Date: 20:59 on 31 Jan 2005
Randal L. Schwartz wrote:
>>>>>>"Vivek" == Vivek Khera <khera@xxxxxxx.xxx> writes:
> 
> [SNIP]
> No, *you* need to worry about it.  If your filename is
> 
>         face of "fred".gif
> 
> Then you need to URI-encode that to get
> 
>         face%20of%20"fred".gif
> 
> and then *that* needs to be HTMLized to get:
> 
>         face%20of%20&quot;fred&quot;.gif
> 


The browser should handle this fine if you just encode the html entities.

If it's in an input you will have:

<input value="face of &quot;fred&quot;.gif"> and the browser should take 
care of uri encoding.

-- Josh

_______________________________________________
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