mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
Merge pull request #513 from ONLYOFFICE/python-reference-fix
fix(python): link in reference body
This commit is contained in:
@ -563,7 +563,7 @@ def reference(request):
|
||||
if userAddress == request.META['REMOTE_ADDR']:
|
||||
fileName = fileKey['fileName']
|
||||
|
||||
link = body['link']
|
||||
link = body.get('link', None)
|
||||
if not fileName and link:
|
||||
if docManager.getServerUrl(False, request) not in link:
|
||||
data = {
|
||||
|
||||
Reference in New Issue
Block a user