mirror of https://gitlab.com/bashrc2/epicyon
Fix port number bug
Not noticed because in the wild port number extensions are rarely usedmerge-requests/8/head
parent
32477e867b
commit
7084a2059f
5
posts.py
5
posts.py
|
@ -1781,10 +1781,7 @@ def sendPostViaServer(projectVersion: str,
|
|||
print('WARN: No session for sendPostViaServer')
|
||||
return 6
|
||||
|
||||
if toPort:
|
||||
if toPort != 80 and toPort != 443:
|
||||
if ':' not in fromDomain:
|
||||
fromDomain = fromDomain + ':' + str(fromPort)
|
||||
fromDomain = getFullDomain(fromDomain, fromPort)
|
||||
|
||||
handle = httpPrefix + '://' + fromDomain + '/@' + fromNickname
|
||||
|
||||
|
|
Loading…
Reference in New Issue