Repository: gohugoio/hugo (language: go)

Issue:
Server url rewrite issue in macOS Ventura (13.2)
I upgraded to macOS Ventura this weekend, and now I'm having an issue with some server rewrites stopped working. I have no clue as to what, but I assume it's connected to the upgrade. This is the dev server only, when you configure something like this:

```toml
[server]
[[server.redirects]]
from = "/foo/**"
to = "/bar/"
status = 200
```


Discussion / hints:

Fix patch:
diff --git a/commands/server.go b/commands/server.go
index da6313f17b9..332e35c01b9 100644
--- a/commands/server.go
+++ b/commands/server.go
@@ -449,7 +449,6 @@ func (f *fileServer) createEndpoint(i int) (*http.ServeMux, net.Listener, string
 							requestURI = redirect.To
 							r = r2
 						}
-						fallthrough
 					default:
 						w.Header().Set("Content-Type", "")
 						http.Redirect(w, r, redirect.To, redirect.Status)


Test patch: