You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@attic.apache.org by bu...@apache.org on 2021/07/25 13:01:48 UTC
svn commit: r1891791 - /attic/site/docs/scripts/attic_filter.lua
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