From 9eb965655715acd00eb8d80425ae7bf5ee2e2dc0 Mon Sep 17 00:00:00 2001
From: Yadd <yadd@debian.org>
Date: Tue, 29 Mar 2022 16:43:36 +0200
Subject: [PATCH] Add fix for node-commander 9

Closes: #1008511
---
 debian/patches/fix-for-commander-9.patch | 16 ++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 17 insertions(+)
 create mode 100644 debian/patches/fix-for-commander-9.patch

diff --git a/debian/patches/fix-for-commander-9.patch b/debian/patches/fix-for-commander-9.patch
new file mode 100644
index 0000000..88fe530
--- /dev/null
+++ b/debian/patches/fix-for-commander-9.patch
@@ -0,0 +1,16 @@
+Description: fix for node-commander 9
+Author: Yadd <yadd@debian.org>
+Bug-Debian: https://bugs.debian.org/1008511
+Forwarded: https://github.com/jupyterhub/configurable-http-proxy/issues/384
+Last-Update: 2022-03-29
+
+--- a/bin/configurable-http-proxy
++++ b/bin/configurable-http-proxy
+@@ -114,6 +114,7 @@
+     process.exit(1);
+   }
+   previous[headerParts[0]] = headerParts[1];
++  return previous;
+ }
+ 
+ cli.parse(process.argv);
diff --git a/debian/patches/series b/debian/patches/series
index 8240442..1c51f0b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix-prom-test.patch
 dont-install-example.patch
 update-to-ws-8.patch
+fix-for-commander-9.patch
-- 
GitLab