git: 9front

Download patch

ref: 52a22aa34114f8584e848262cbebe001e35390c0
parent: bf5fe676d6960cbb0bc4b676a5de11d91668047c
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Feb 28 19:53:03 EST 2026

rc-httpd: filter out . for $SERVER_NAME (thanks penny and Mark Otzen)

http://nug.only9fans.com/penny/werc_notes

--
cinap

--- a/rc/bin/rc-httpd/rc-httpd
+++ b/rc/bin/rc-httpd/rc-httpd
@@ -86,7 +86,7 @@
 	SERVER_NAME=$SERVER_NAME(1)
 }
 switch($SERVER_NAME){
-	case */* ..
+	case */* .. .
 		error 400
 		exit
 }
--