This is an automated email from the ASF dual-hosted git repository. gcruz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/allura.git
commit adbe83f76a7a4cc5c00a061d218b0b5cbb622b3a Author: Dave Brondsema <[email protected]> AuthorDate: Wed Nov 9 14:51:35 2022 -0500 use error template for 410 Gone statuses too --- Allura/allura/config/app_cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Allura/allura/config/app_cfg.py b/Allura/allura/config/app_cfg.py index 54b72eb48..5c0a3678f 100644 --- a/Allura/allura/config/app_cfg.py +++ b/Allura/allura/config/app_cfg.py @@ -61,7 +61,7 @@ class ForgeConfig(AppConfig): self.use_sqlalchemy = False self.use_toscawidgets = False self.use_transaction_manager = False - self.handle_status_codes = [403, 404] + self.handle_status_codes = [403, 404, 410] self.disable_request_extensions = True # if left to True (default) would use crank.util.default_path_translator to convert all URL punctuation to "_"
