[Rt-commit] r12626 - rt/branches/3.8-TESTING/share/html/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu May 22 15:59:50 EDT 2008


Author: sunnavy
Date: Thu May 22 15:59:47 2008
New Revision: 12626

Modified:
   rt/branches/3.8-TESTING/share/html/Elements/Header

Log:
$Refresh are not always just a number, it can be "1;URL=$URL"

Modified: rt/branches/3.8-TESTING/share/html/Elements/Header
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Elements/Header	(original)
+++ rt/branches/3.8-TESTING/share/html/Elements/Header	Thu May 22 15:59:47 2008
@@ -52,7 +52,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
 <title><%$Title%></title>
 
-% if ($Refresh && $Refresh > 0) {
+
+% if ($Refresh && $Refresh =~ /^(\d+)/ && $1 > 0) {
     <meta http-equiv="refresh" content="<% $Refresh %>" />
 % }
 


More information about the Rt-commit mailing list