Skip to content

Commit 0621e33

Browse files
committed
bugfix: fixed a grammar error introduced in commit 8174409.
1 parent e377a2f commit 0621e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resty/core/uri.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ ngx.escape_uri = function (s, esc_type)
7373

7474
else
7575
if type(esc_type) ~= 'number' then
76-
error("\"type\" is not number", 3)
76+
error("\"type\" is not a number", 3)
7777
end
7878

7979
if esc_type < NGX_ESCAPE_URI or esc_type > NGX_ESCAPE_MAIL_AUTH then

0 commit comments

Comments
 (0)