Skip to content

Commit d293309

Browse files
authored
fix: correct the usage of re.split (#60)
1 parent 6ec8e61 commit d293309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resty/radixtree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ local function fetch_pat(path)
415415
end
416416

417417
clear_tab(tmp)
418-
local res = ngx_re.split(path, "/", tmp)
418+
local res = ngx_re.split(path, "/", "jo", nil, nil, tmp)
419419
if not res then
420420
return false
421421
end

0 commit comments

Comments
 (0)