Open
Description
Note: This issue is about fixing Hugo so the panics don't happen at all, and so that behavior is consistent across Mac, Linux, and Windows. The fact that there's a workaround is irrelevant. GetMatch shouldn't panic when given a URL.
This issue is also about having Hugo print the actual panic stack trace so it's easier to debug situations like this. There's nothing actionable about the nil reference message without any context.
What version of Hugo are you using (hugo version
)?
$ hugo version hugo v0.110.0+extended darwin/amd64 BuildDate=unknown
Does this issue reproduce with the latest release?
Yes