mirror of
https://github.com/bol-van/zapret2.git
synced 2026-10-12 05:07:00 +04:00
zapret-lib: dissect_url accept # and ? chars as domain end
This commit is contained in:
1 parent
2efdb70b1c
commit
7119ffce54
1 file changed
+1
-1
+1
-1
@@ -1863,7 +1863,7 @@ function dissect_url(url)
|
||||
creds = string.sub(url,p1,pend-1)
|
||||
p1 = pend+1
|
||||
end
|
||||
pstart,pend = string.find(url,"/",p1,true)
|
||||
pstart,pend = string.find(url,"[/?#]",p1)
|
||||
if pend then
|
||||
if pend==pb then
|
||||
uri = string.sub(url,pb)
|
||||
|
||||
Reference in new issue
Block a user