You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/js/setupchecks.js
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,11 @@
77
77
t('core','Your PHP version ({version}) is no longer <a href="{phpLink}">supported by PHP</a>. We encourage you to upgrade your PHP version to take advantage of performance and security updates provided by PHP.',{version: data.phpSupported.version,phpLink: 'https://secure.php.net/supported-versions.php'})
78
78
);
79
79
}
80
+
if(!data.forwardedForHeadersWorking){
81
+
messages.push(
82
+
t('core','The reverse proxy headers configuration is incorrect, or you are accessing ownCloud from a trusted proxy. If you are not accessing ownCloud from a trusted proxy, this is a security issue and can allow an attacker to spoof their IP address as visible to ownCloud. Further information can be found in our <a href="{docLink}">documentation</a>.',{docLink: data.reverseProxyDocs})
83
+
);
84
+
}
80
85
}else{
81
86
messages.push(t('core','Error occurred while checking server setup'));
expect(data).toEqual(['The reverse proxy headers configuration is incorrect, or you are accessing ownCloud from a trusted proxy. If you are not accessing ownCloud from a trusted proxy, this is a security issue and can allow an attacker to spoof their IP address as visible to ownCloud. Further information can be found in our <a href="https://docs.owncloud.org/foo/bar.html">documentation</a>.']);
173
+
done();
174
+
});
175
+
});
176
+
129
177
it('should return an error if the response has no statuscode 200',function(done){
0 commit comments