mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[wopi] Fixed bug with using IP filter for wopi request from browser
This commit is contained in:
@ -233,7 +233,7 @@ docsCoServer.install(server, () => {
|
||||
if (cfgWopiEnable) {
|
||||
app.get('/hosting/discovery', utils.checkClientIp, wopiClient.discovery);
|
||||
app.get('/hosting/capabilities', utils.checkClientIp, wopiClient.collaboraCapabilities);
|
||||
app.post('/hosting/wopi/:documentType/:mode', utils.checkClientIp, urleEcodedParser, forms.none(), utils.lowercaseQueryString, wopiClient.getEditorHtml);
|
||||
app.post('/hosting/wopi/:documentType/:mode', urleEcodedParser, forms.none(), utils.lowercaseQueryString, wopiClient.getEditorHtml);
|
||||
}
|
||||
|
||||
app.post('/dummyCallback', utils.checkClientIp, rawFileParser, function(req, res){
|
||||
|
||||
Reference in New Issue
Block a user