On Sat, Dec 19, 2009 at 3:56 PM, agentzh <agentzh@gmail.com> wrote:
>
> Oh, it's been a TODO for my ngx_echo module ;) But I've been busy with
> bug fixes in the ngx_chunkin module atm :P
>
BTW, "set $memcached_key blah blah" is not a ngx_memcached magic, but
rather ngx_rewrite. I think this feature is general enough to be
included in a separate module. Also, we could get URI escaping and
unescaping routines for *any* nginx variables like this:
set_uri_unescape $memcached_key $arg_my_key;
as well as
set_sha1 $memcached_key $request_uri
set_md5 $memcached_key $request_uri
in your situation ;)
Well, a module named ngx_escape or ngx_var_filter now comes into my mind ;)
Cheers,
-agentzh
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx