double escaping in memcache_pass

Joel Wood lists at ruby-forum.com
Fri Nov 21 21:41:16 MSK 2008


Hey folks,

When I pass a url escaped key to memcache, it seem to get escaped again.

here is where the memcache key gets set:

2008/11/21 10:31:27 [debug] 6194#0: *254 http script var:
"web:uri:/nginx/test?key=http%3A%2F%2Fwww.example.com"
2008/11/21 10:31:27 [debug] 6194#0: *254 http script set var

here is where the request is sent to memcache:

2008/11/21 10:31:27 [debug] 6194#0: *254 http memcached request:
"web:uri:/nginx/test?key=http%253A%252F%252Fwww.example.com"

Is there a way to prevent this from happening?

Thank you for your help,

-Joel
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list