Check that addresses look like addresses

master
Bob Mottram 2019-08-18 22:12:37 +01:00
parent 83f3cf4059
commit 494ef3f952
1 changed files with 3 additions and 1 deletions

View File

@ -1340,8 +1340,10 @@ def sendToNamedAddresses(session,baseDir: str, \
continue
if isinstance(recipientsObject[rType], list):
if debug:
print('recipientsObject: '+str(recipientsObject))
print('recipientsObject: '+str(recipientsObject[rType]))
for address in recipientsObject[rType]:
if '/' not in address:
continue
if address.endswith('#Public'):
continue
if address.endswith('/followers'):