paivana

HTTP paywall reverse proxy
Log | Files | Refs | Submodules | README | LICENSE

commit fbf6112d5c4c87ea61ca05c10299c860317de406
parent 0c8d0361efefbf450f982074c9a49e2ed8820f0a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  6 Aug 2026 16:06:25 +0200

handle missing end-quote

Diffstat:
Msrc/backend/paivana-httpd_helper.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/backend/paivana-httpd_helper.c b/src/backend/paivana-httpd_helper.c @@ -225,6 +225,11 @@ nth_forwarded_param (const char *fwd, { if (in_quotes) { + if ('\0' == *p) + { + GNUNET_break_op (0); + return false; + } if ('\\' == *p) { if ('\0' == p[1])