From 78123ed1088053b93e8abb0289160810bbc3b1c4 Mon Sep 17 00:00:00 2001 From: William Reiske Date: Sun, 28 Apr 2019 18:38:46 -0400 Subject: [PATCH 1/8] Fix file-upload url bug (#14282) --- app/file-upload/server/lib/requests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/file-upload/server/lib/requests.js b/app/file-upload/server/lib/requests.js index d859e3f1a877..b0793af4b9b0 100644 --- a/app/file-upload/server/lib/requests.js +++ b/app/file-upload/server/lib/requests.js @@ -6,7 +6,7 @@ WebApp.connectHandlers.use('/file-upload/', function(req, res, next) { const match = /^\/([^\/]+)\/(.*)/.exec(req.url); - if (match[1]) { + if (match && match[1]) { const file = Uploads.findOneById(match[1]); if (file) { From a7a73d904e9e92fff39b8601057dcb45baee456d Mon Sep 17 00:00:00 2001 From: Rodrigo Nascimento Date: Sun, 28 Apr 2019 20:36:43 -0300 Subject: [PATCH 2/8] Merge pull request #14290 from RocketChat/fix-apps-header [FIX] Wrong header at Apps admin section --- app/apps/client/admin/apps.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/apps/client/admin/apps.html b/app/apps/client/admin/apps.html index f716707f6c16..96f0f9b699bd 100644 --- a/app/apps/client/admin/apps.html +++ b/app/apps/client/admin/apps.html @@ -1,6 +1,6 @@