attic-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1891791 - /attic/site/docs/scripts/attic_filter.lua
Date Sun, 25 Jul 2021 13:01:48 GMT
Author: buildbot
Date: Sun Jul 25 13:01:48 2021
New Revision: 1891791

URL: http://svn.apache.org/viewvc?rev=1891791&view=rev
Log:
Automatic Site Publish by Buildbot

Modified:
    attic/site/docs/scripts/attic_filter.lua

Modified: attic/site/docs/scripts/attic_filter.lua
URL: http://svn.apache.org/viewvc/attic/site/docs/scripts/attic_filter.lua?rev=1891791&r1=1891790&r2=1891791&view=diff
==============================================================================
--- attic/site/docs/scripts/attic_filter.lua (original)
+++ attic/site/docs/scripts/attic_filter.lua Sun Jul 25 13:01:48 2021
@@ -13,7 +13,7 @@
 
 function output_filter(r)
     -- We only filter text/html types
-    if not r.content_type:match(".*text/html.*") then return end
+    if not r.content_type:match("text/html") then return end
 
     -- add header:
     -- get TLP part of hostname



Mime
View raw message