diff options
author | Marius Blüm <marius@lineone.io> | 2016-08-17 09:02:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-17 09:02:58 +0200 |
commit | c1632c3abd0f136b4ecb8d7a5bef5c3c72f9cb95 (patch) | |
tree | f39dd2b81c9743d9912359cbd3649101b8db383d /settings | |
parent | 0cc8b8b244fe921226a53c9c03c40e13f63b6362 (diff) | |
parent | 8f3dc0ba43123915c25ff9b328104d6fe4faf9e9 (diff) | |
download | nextcloud-server-c1632c3abd0f136b4ecb8d7a5bef5c3c72f9cb95.tar.gz nextcloud-server-c1632c3abd0f136b4ecb8d7a5bef5c3c72f9cb95.zip |
Merge pull request #893 from nextcloud/ie8_be_gone
IE8 be gone!
Diffstat (limited to 'settings')
-rw-r--r-- | settings/Controller/CertificateController.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/settings/Controller/CertificateController.php b/settings/Controller/CertificateController.php index 4a527036a7f..8121bec2ce1 100644 --- a/settings/Controller/CertificateController.php +++ b/settings/Controller/CertificateController.php @@ -86,10 +86,6 @@ class CertificateController extends Controller { */ private function addCertificate(ICertificateManager $certificateManager) { $headers = []; - if ($this->request->isUserAgent([\OC\AppFramework\Http\Request::USER_AGENT_IE_8])) { - // due to upload iframe workaround, need to set content-type to text/plain - $headers['Content-Type'] = 'text/plain'; - } if ($this->isCertificateImportAllowed() === false) { return new DataResponse(['message' => 'Individual certificate management disabled'], Http::STATUS_FORBIDDEN, $headers); |