aboutsummaryrefslogtreecommitdiff
path: root/filters/email-libravatar-hover.lua
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2026-03-10 21:26:55 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2026-03-10 22:19:00 +0100
commit0d8e5fbc31e1082063bfb5155c35b7869721152b (patch)
treed13d25a2ef93af13deaaf285dbcd26bbb5a5a1c6 /filters/email-libravatar-hover.lua
parent0d28d54f0a287ee3e5a12d14ffd2ee23b5e22d76 (diff)
cgit: override die routine globally
We don't get any return value from compile_grep_patterns calling compile_regexp_failed, causing the default die routine to print to stderr and then for cgit to exit ungracefully. Instead override the default die routine to show a normal error page. Perhaps compile_grep_patterns ought to change upstream to return an error. But this commit here will handle future issues as well, so perhaps not a bad idea to do anyway. Link: https://lists.zx2c4.com/pipermail/cgit/2026-March/004982.html Link: https://lists.zx2c4.com/pipermail/cgit/2026-March/004983.html Reported-by: Adrian C. <anrxc@sysphere.org> Reported-by: Aiden Woodruff <aiden@aidenw.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'filters/email-libravatar-hover.lua')
0 files changed, 0 insertions, 0 deletions
34'>134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182