Welcome! Log In Create A New Profile

Advanced

Re: odd behavior from ndk.set_var.set_quote_sql_str

agentzh
October 27, 2011 07:58AM
On Thu, Oct 27, 2011 at 12:59 AM, dannynoonan <nginx-forum@nginx.us> wrote:
> ndk.set_var.set_quote_sql_str sometimes treats the variable supplied as
> a param as if it were an empty string. the following config:
>

Thanks for the report and the use case to reproduce the problem!

I've just fixed a memory uninitialization issue in ngx_lua's
ndk.set_var.DIRECTIVE implementation which could cause the problem
that you've described and released ngx_lua v0.3.1rc23 to include this
fix:

https://github.com/chaoslawful/lua-nginx-module/tags

Could you please try it out on your side?

If you're using the ngx_openresty bundle, you can also try out the
devel release 1.0.8.25 here:

http://openresty.org/#Download

Thanks!
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

odd behavior from ndk.set_var.set_quote_sql_str

dannynoonan October 24, 2011 10:30PM

Re: odd behavior from ndk.set_var.set_quote_sql_str

agentzh October 27, 2011 07:58AM

Re: odd behavior from ndk.set_var.set_quote_sql_str

dannynoonan October 27, 2011 01:28PM

Re: odd behavior from ndk.set_var.set_quote_sql_str

agentzh October 28, 2011 11:22AM

Re: odd behavior from ndk.set_var.set_quote_sql_str

dannynoonan October 27, 2011 07:39PM

Re: odd behavior from ndk.set_var.set_quote_sql_str

agentzh October 28, 2011 11:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready