mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
Merge remote-tracking branch 'remotes/origin/hotfix/v8.3.3' into release/v9.0.0
# Conflicts: # CHANGELOG.md
This commit is contained in:
@ -4,6 +4,7 @@
|
|||||||
- nodejs: view odg
|
- nodejs: view odg
|
||||||
- nodejs: edit xlsb
|
- nodejs: edit xlsb
|
||||||
- nodejs: support vsdx in diagram editor
|
- nodejs: support vsdx in diagram editor
|
||||||
|
- nodejs: fix wopi verification
|
||||||
- nodejs: user role
|
- nodejs: user role
|
||||||
- nodejs: start filling
|
- nodejs: start filling
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@ exports.isValidToken = async (req, res, next) => {
|
|||||||
|
|
||||||
const isValid = wopiValidator.check(
|
const isValid = wopiValidator.check(
|
||||||
{
|
{
|
||||||
url: `${req.protocol}://${req.get('host')}${req.originalUrl || req.url}`,
|
url: `${req.DocManager.getServerPath()}${req.originalUrl || req.url}`,
|
||||||
accessToken: req.query.access_token,
|
accessToken: req.query.access_token,
|
||||||
timestamp: req.headers[reqConsts.requestHeaders.Timestamp.toLowerCase()],
|
timestamp: req.headers[reqConsts.requestHeaders.Timestamp.toLowerCase()],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user