Skip to content

Commit 73225c4

Browse files
committed
Update README.markdown
Fix the quote example
1 parent 784728f commit 73225c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Here is an example:
264264

265265
local name = ngx.unescape_uri(ngx.var.arg_name)
266266
local quoted_name = ngx.quote_sql_str(name)
267-
local sql = "select * from users where name = " .. name
267+
local sql = "select * from users where name = " .. quoted_name
268268

269269
Debugging
270270
=========

0 commit comments

Comments
 (0)