You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by di...@apache.org on 2025/08/18 14:20:19 UTC

(allura) branch gc/markdown_html_attributes updated: invalidate all posts' markdown cache

This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch gc/markdown_html_attributes
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/gc/markdown_html_attributes by this push:
     new a3dece92c invalidate all posts' markdown cache
a3dece92c is described below

commit a3dece92ca53e0eabc2a79b93395cb9d3216c9ff
Author: Dillon Walls <di...@slashdotmedia.com>
AuthorDate: Mon Aug 18 14:20:12 2025 +0000

    invalidate all posts' markdown cache
---
 Allura/allura/lib/app_globals.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/lib/app_globals.py b/Allura/allura/lib/app_globals.py
index 0e9c72102..4c96e2811 100644
--- a/Allura/allura/lib/app_globals.py
+++ b/Allura/allura/lib/app_globals.py
@@ -126,7 +126,7 @@ def cached_convert(self, artifact: MappedClass, field_name: str) -> Markup:
                 field_name, artifact.__class__.__name__)
             return self.convert(source_text)
 
-        bugfix_rev = 4  # increment this if we need all caches to invalidated (e.g. xss in markdown rendering fixed)
+        bugfix_rev = 5  # increment this if we need all caches to invalidated (e.g. xss in markdown rendering fixed)
         md5 = None
         # If a cached version exists and it is valid, return it.
         if cache.md5 is not None: