Forum: NGINX double escaping in memcache_pass

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Joel W. (Guest)
on 2008-11-21 20:41
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
This topic is locked and can not be replied to.