Adrian,

Here's a shorter example that causes a crash:

https://DEV.NULL/REPOSITORYNAME/log/?q=a**&qt=grep

I think because this is an invalid regular expression.

However, the following is also an invalid regular expression that does not cause a crash:

https://DEV.NULL/REPOSITORYNAME/log/?q=a?*&qt=grep

On 3/5/26 4:44 PM, Adrian C. wrote:
Quick attempt at a workaround for haproxy in front of cgit installations:

http-request set-query %[query,regsub(qt=grep,qt=grepz,g)]

This workaround is not ideal: it disables log searching completely.

--
Aiden Woodruff


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to