We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 952bfc6 commit fd3eaf0Copy full SHA for fd3eaf0
src/wopiserver.py
@@ -371,7 +371,10 @@ def iopOpenInApp():
371
res['app-url'] += '&IsLicensedUser=1'
372
res['form-parameters'] = {'access_token': acctok}
373
374
- Wopi.log.info(f"msg=\"iopOpenInApp: redirecting client\" appurl=\"{res['app-url']}\"")
+ appforlog = res['app-url']
375
+ if appforlog.find('access') > 0:
376
+ appforlog = appforlog[:appforlog.find('access')] + 'access_token=redacted'
377
+ Wopi.log.info(f"msg=\"iopOpenInApp: redirecting client\" appurl=\"{appforlog}\"")
378
return flask.Response(json.dumps(res), mimetype='application/json')
379
380
0 commit comments