-
-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix /checkup/ false positive when OnlyOffice is not installed #1731
base: staging
Are you sure you want to change the base?
Conversation
www/checkup/main.js
Outdated
@@ -720,12 +725,11 @@ define([ | |||
}); | |||
|
|||
assert(function (cb, msg) { // FIXME possibly superseded by more advanced CSP tests? | |||
var url = `/common/onlyoffice/dist/${OOCurrentVersion.currentVersion}/web-apps/apps/spreadsheeteditor/main/index.html`; | |||
msg.appendChild(CSP_WARNING(url)); | |||
msg.appendChild(CSP_WARNING(sheetURL)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is no if (ooEnabled) {
needed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed! Typo from when i reverted the Prettier formatting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, and another thing. How did the changes to docker-compose.yml
and .github/ISSUE_TEMPLATE/bug_resolution.yml
make it into your PR? Can you remove these changes from you PR?
4ce0191
to
b5176fa
Compare
Fixed |
I also tested the fix and found no problems. |
This fixed the issue described here: #1702.