Skip to content

Commit 0fbe7ec

Browse files
committed
Fix long line length
1 parent e102a38 commit 0fbe7ec

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/resty/http.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,11 @@ end
255255
function _M.parse_uri(_, uri, query_in_path)
256256
if query_in_path == nil then query_in_path = true end
257257

258-
local m, err = ngx_re_match(uri, [[^(?:(http[s]?):)?//((?:[^\[\]:/\?]+)|(?:\[.+\]))(?::(\d+))?([^\?]*)\??(.*)]], "jo")
258+
local m, err = ngx_re_match(
259+
uri,
260+
[[^(?:(http[s]?):)?//((?:[^\[\]:/\?]+)|(?:\[.+\]))(?::(\d+))?([^\?]*)\??(.*)]],
261+
"jo"
262+
)
259263

260264
if not m then
261265
if err then

0 commit comments

Comments
 (0)