On 06/29/2011 10:51 PM, pbreit wrote:
Or this if you can get by with them only being available on "localhost":

# by default give a view/generic.extension to all actions from localhost
# none otherwise. a pattern can be 'controller/function.extension'
response.generic_patterns = ['*'] if request.is_local else []

I see.  This is a nice solution.  Thanks.

I'm curious to know what is the security risk being avoided here. I vaguely remember it being discussed here -- time to search the archives I guess.

--
Gary Herron, PhD.
Department of Computer Science
DigiPen Institute of Technology
(425) 895-4418

Reply via email to