Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: ngx.re: non-string values passed as string args might throw o…
…ut errors. 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 #22.
- Loading branch information
Showing
3 changed files
with
125 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters