Return to ?

main
Bob Mottram 2021-09-21 13:44:55 +01:00
parent cada7845a4
commit 7c3506d990
3 changed files with 5 additions and 5 deletions

View File

@ -53,13 +53,13 @@ def _getLeftColumnShares(baseDir: str,
ctr = 0
for published, item in sharesJson.items():
sharedesc = item['displayName']
if '<' in sharedesc or ';' in sharedesc:
if '<' in sharedesc or '?' in sharedesc:
continue
shareId = item['shareId']
# selecting this link calls htmlShowShare
shareLink = actor + '?showshare=' + shareId
if item.get('category'):
shareLink += ';category=' + item['category']
shareLink += '?category=' + item['category']
shareCategory = shareCategoryIcon(item['category'])
linksList.append(shareCategory + sharedesc + ' ' + shareLink)

View File

@ -997,7 +997,7 @@ def htmlIndividualShare(domain: str, shareId: str,
'<p>' + \
'<a href="' + actor + \
'?replydm=sharedesc:' + sharedesc + \
';mention=' + contactActor + '">' + \
'?mention=' + contactActor + '">' + \
'<button class="' + buttonStyleStr + '">' + \
contactTitleStr + '</button></a>\n'
profileStr += \

View File

@ -1341,8 +1341,8 @@ def htmlSearchResultShare(baseDir: str, sharedItem: {}, translate: {},
sharedItemsForm += \
'<p>' + \
'<a href="' + actor + '?replydm=sharedesc:' + \
sharedItem['displayName'] + ';mention=' + contactActor + \
';category=' + category + \
sharedItem['displayName'] + '?mention=' + contactActor + \
'?category=' + category + \
'"><button class="' + buttonStyleStr + '">' + contactTitleStr + \
'</button></a>\n' + \
'<a href="' + contactActor + '"><button class="button">' + \