Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caste various regex params to string to avoid thread abort #23

Closed
wants to merge 1 commit into from

Commits on Feb 3, 2016

  1. Caste various regex params to string to avoid thread abort

    This commit updates regex.lua to force the use of string types
    in situations where the '#' operator is called. This resolves
    potential thread abort situations where non-string types are used
    as parameters to ngx.re.(g)sub, ngx.re.(g)match and ngx.re.find
    as noted in issue openresty#22.
    p0pr0ck5 committed Feb 3, 2016
    Copy the full SHA
    7eff284 View commit details
    Browse the repository at this point in the history