Mercurial > kallithea
view .hgignore @ 7228:638ac4e65365
issues: gracefully handle invalid issue patterns
issue_pat is provided by the admin and can be invalid due to bad syntax.
In this case, a page load by a user could cause 500 Internal Server Error.
Instead, add a try..except clause around the compilation of issue_pat, and
skip invalid patterns.
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Sat, 24 Feb 2018 21:18:24 +0100 |
parents | 6ef837acb0d2 |
children | 8152f9e6a778 |
line wrap: on
line source
syntax: glob *.pyc *.swp *.sqlite *.tox *.egg-info *.egg *.mo .eggs/ tarballcache/ node_modules/ syntax: regexp ^rcextensions ^build ^dist/ ^docs/build/ ^docs/_build/ ^data$ ^sql_dumps/ ^\.settings$ ^\.project$ ^\.pydevproject$ ^\.coverage$ ^kallithea/public/css/style\.css$ ^kallithea\.db$ ^test\.db$ ^Kallithea\.egg-info$ ^my\.ini$ ^fabfile.py ^\.idea$ ^\.cache$ /__pycache__$