summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/0002-remove-file-serve-restrictions-for-symlinks.patch18
1 files changed, 6 insertions, 12 deletions
diff --git a/debian/patches/0002-remove-file-serve-restrictions-for-symlinks.patch b/debian/patches/0002-remove-file-serve-restrictions-for-symlinks.patch
index 449524b6e..b0b7d7433 100644
--- a/debian/patches/0002-remove-file-serve-restrictions-for-symlinks.patch
+++ b/debian/patches/0002-remove-file-serve-restrictions-for-symlinks.patch
@@ -1,16 +1,10 @@
-From: Lennart Weller <lhw@ring0.de>
-Date: Wed, 14 Nov 2018 14:24:17 +0100
-Subject: remove file serve restrictions for symlinks
+Author: Lennart Weller <lhw@ring0.de>
+Description: remove file serve restrictions for symlinks
----
- web/server/web_client.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/web/server/web_client.c b/web/server/web_client.c
-index 282cfcd..eed6b59 100644
---- a/web/server/web_client.c
-+++ b/web/server/web_client.c
-@@ -372,7 +372,7 @@ int mysendfile(struct web_client *w, char *filename) {
+diff -Naurp netdata.orig/web/server/web_client.c netdata/web/server/web_client.c
+--- netdata.orig/web/server/web_client.c
++++ netdata/web/server/web_client.c
+@@ -372,7 +372,7 @@ int mysendfile(struct web_client *w, cha
int done = 0;
while(!done) {
// check if the file exists