No plus in user agent url

main
Bob Mottram 2022-01-31 11:15:51 +00:00
parent 53805c78e1
commit a36897b106
1 changed files with 4 additions and 4 deletions

View File

@ -13478,14 +13478,14 @@ class PubServer(BaseHTTPRequestHandler):
elif '"' in referer_domain:
referer_domain = referer_domain.split('"')[0]
elif ua_str:
if '+https://' in ua_str:
referer_domain = ua_str.split('+https://')[1]
if 'https://' in ua_str:
referer_domain = ua_str.split('https://')[1]
if '/' in referer_domain:
referer_domain = referer_domain.split('/')[0]
elif ')' in referer_domain:
referer_domain = referer_domain.split(')')[0]
elif '+http://' in ua_str:
referer_domain = ua_str.split('+http://')[1]
elif 'http://' in ua_str:
referer_domain = ua_str.split('http://')[1]
if '/' in referer_domain:
referer_domain = referer_domain.split('/')[0]
elif ')' in referer_domain: