summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-16 10:38:18 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-16 10:38:18 +0800
commitbb63e93ea0d898b396ba6545377813fca64061c4 (patch)
treed9ec2b61e626041b2bd6cc3a91a11864052e2390
parent346497bfde9faeafd4af4a31ba1b427babf2ad53 (diff)
downloadpttbbs-bb63e93ea0d898b396ba6545377813fca64061c4.tar
pttbbs-bb63e93ea0d898b396ba6545377813fca64061c4.tar.gz
pttbbs-bb63e93ea0d898b396ba6545377813fca64061c4.tar.bz2
pttbbs-bb63e93ea0d898b396ba6545377813fca64061c4.tar.lz
pttbbs-bb63e93ea0d898b396ba6545377813fca64061c4.tar.xz
pttbbs-bb63e93ea0d898b396ba6545377813fca64061c4.tar.zst
pttbbs-bb63e93ea0d898b396ba6545377813fca64061c4.zip
remove <meta http-equiv="refresh">
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@940 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rwxr-xr-xpttbbs/blog/builddb.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/pttbbs/blog/builddb.pl b/pttbbs/blog/builddb.pl
index b5262017..b519587b 100755
--- a/pttbbs/blog/builddb.pl
+++ b/pttbbs/blog/builddb.pl
@@ -79,6 +79,7 @@ sub buildconfigure($$)
}
$c = $rch->{"$_.content"};
+ $c =~ s/<meta http-equiv=\"refresh\".*?\n//g;
open FH, ">$outdir/$fn";
if( $c =~ m|<attribute>(.*?)\n\s*</attribute>\s*\n(.*)|s ){