forked from indymedia/epicyon
Extract report link
This commit is contained in:
1 parent
faeff04a88
commit
ca2e77c14d
1 file changed
+4
-1
+4
-1
@@ -546,7 +546,10 @@ def htmlNewPost(baseDir: str,path: str,inReplyTo: str,mentions: []) -> str:
|
||||
"""
|
||||
reportUrl=None
|
||||
if '/newreport?' in path:
|
||||
reportUrl=path.split('/newreport?')[1]
|
||||
if '?url=' in path:
|
||||
reportUrl=path.split('?url=')[1]
|
||||
if ';' in reportUrl:
|
||||
reportUrl=reportUrl.split(';')[0]
|
||||
path=path.split('/newreport?')[0]+'/newreport'
|
||||
replyStr=''
|
||||
if not path.endswith('/newshare'):
|
||||
|
||||
Reference in new issue
Block a user