logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r867273 - in /websites/production/logging/content/log4j/log4j-2.0-beta7: log4j-1.2-api/apidocs/ log4j-api/apidocs/ log4j-core/apidocs/ log4j-flume-ng/apidocs/ log4j-jcl/apidocs/ log4j-jmx-gui/apidocs/ log4j-slf4j-impl/apidocs/ log4j-taglib/...
Date Mon, 24 Jun 2013 20:50:31 GMT
Author: rgoers
Date: Mon Jun 24 20:50:31 2013
New Revision: 867273

Log:
Fix Javadoc security issues

Modified:
    websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-1.2-api/apidocs/index.html
    websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-api/apidocs/index.html
    websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-core/apidocs/index.html
    websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-flume-ng/apidocs/index.html
    websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-jcl/apidocs/index.html
    websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-jmx-gui/apidocs/index.html
    websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-slf4j-impl/apidocs/index.html
    websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-taglib/apidocs/index.html
    websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-to-slf4j/apidocs/index.html
    websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-web/apidocs/index.html

Modified: websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-1.2-api/apidocs/index.html
==============================================================================
--- websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-1.2-api/apidocs/index.html
(original)
+++ websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-1.2-api/apidocs/index.html
Mon Jun 24 20:50:31 2013
@@ -13,6 +13,42 @@ Apache Log4j 1.x Compatibility API 2.0-b
         targetPage = targetPage.substring(1);
     if (targetPage.indexOf(":") != -1)
         targetPage = "undefined";
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
     function loadFrames() {
         if (targetPage != "" && targetPage != "undefined")
              top.classFrame.location = top.targetPage;

Modified: websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-api/apidocs/index.html
==============================================================================
--- websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-api/apidocs/index.html
(original)
+++ websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-api/apidocs/index.html
Mon Jun 24 20:50:31 2013
@@ -13,6 +13,42 @@ Apache Log4j API 2.0-beta7 API
         targetPage = targetPage.substring(1);
     if (targetPage.indexOf(":") != -1)
         targetPage = "undefined";
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
     function loadFrames() {
         if (targetPage != "" && targetPage != "undefined")
              top.classFrame.location = top.targetPage;

Modified: websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-core/apidocs/index.html
==============================================================================
--- websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-core/apidocs/index.html
(original)
+++ websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-core/apidocs/index.html
Mon Jun 24 20:50:31 2013
@@ -13,6 +13,42 @@ Apache Log4j Core 2.0-beta7 API
         targetPage = targetPage.substring(1);
     if (targetPage.indexOf(":") != -1)
         targetPage = "undefined";
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
     function loadFrames() {
         if (targetPage != "" && targetPage != "undefined")
              top.classFrame.location = top.targetPage;

Modified: websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-flume-ng/apidocs/index.html
==============================================================================
--- websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-flume-ng/apidocs/index.html
(original)
+++ websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-flume-ng/apidocs/index.html
Mon Jun 24 20:50:31 2013
@@ -13,6 +13,42 @@ Apache Log4j Flume NG Bridge 2.0-beta7 A
         targetPage = targetPage.substring(1);
     if (targetPage.indexOf(":") != -1)
         targetPage = "undefined";
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
     function loadFrames() {
         if (targetPage != "" && targetPage != "undefined")
              top.classFrame.location = top.targetPage;

Modified: websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-jcl/apidocs/index.html
==============================================================================
--- websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-jcl/apidocs/index.html
(original)
+++ websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-jcl/apidocs/index.html
Mon Jun 24 20:50:31 2013
@@ -13,6 +13,42 @@ Apache Log4j Commons Logging Bridge 2.0-
         targetPage = targetPage.substring(1);
     if (targetPage.indexOf(":") != -1)
         targetPage = "undefined";
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
     function loadFrames() {
         if (targetPage != "" && targetPage != "undefined")
              top.classFrame.location = top.targetPage;

Modified: websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-jmx-gui/apidocs/index.html
==============================================================================
--- websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-jmx-gui/apidocs/index.html
(original)
+++ websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-jmx-gui/apidocs/index.html
Mon Jun 24 20:50:31 2013
@@ -13,6 +13,42 @@ Apache Log4j JMX GUI 2.0-beta7 API
         targetPage = targetPage.substring(1);
     if (targetPage.indexOf(":") != -1)
         targetPage = "undefined";
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
     function loadFrames() {
         if (targetPage != "" && targetPage != "undefined")
              top.classFrame.location = top.targetPage;

Modified: websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-slf4j-impl/apidocs/index.html
==============================================================================
--- websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-slf4j-impl/apidocs/index.html
(original)
+++ websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-slf4j-impl/apidocs/index.html
Mon Jun 24 20:50:31 2013
@@ -13,6 +13,42 @@ Apache Log4j SLF4J Binding 2.0-beta7 API
         targetPage = targetPage.substring(1);
     if (targetPage.indexOf(":") != -1)
         targetPage = "undefined";
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
     function loadFrames() {
         if (targetPage != "" && targetPage != "undefined")
              top.classFrame.location = top.targetPage;

Modified: websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-taglib/apidocs/index.html
==============================================================================
--- websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-taglib/apidocs/index.html
(original)
+++ websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-taglib/apidocs/index.html
Mon Jun 24 20:50:31 2013
@@ -13,6 +13,42 @@ Apache Log4j Tag Library 2.0-beta7 API
         targetPage = targetPage.substring(1);
     if (targetPage.indexOf(":") != -1)
         targetPage = "undefined";
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
     function loadFrames() {
         if (targetPage != "" && targetPage != "undefined")
              top.classFrame.location = top.targetPage;

Modified: websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-to-slf4j/apidocs/index.html
==============================================================================
--- websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-to-slf4j/apidocs/index.html
(original)
+++ websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-to-slf4j/apidocs/index.html
Mon Jun 24 20:50:31 2013
@@ -13,6 +13,42 @@ Apache Log4j to SLF4J Adapter 2.0-beta7 
         targetPage = targetPage.substring(1);
     if (targetPage.indexOf(":") != -1)
         targetPage = "undefined";
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
     function loadFrames() {
         if (targetPage != "" && targetPage != "undefined")
              top.classFrame.location = top.targetPage;

Modified: websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-web/apidocs/index.html
==============================================================================
--- websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-web/apidocs/index.html
(original)
+++ websites/production/logging/content/log4j/log4j-2.0-beta7/log4j-web/apidocs/index.html
Mon Jun 24 20:50:31 2013
@@ -13,6 +13,42 @@ Apache Log4j Web Adapters 2.0-beta7 API
         targetPage = targetPage.substring(1);
     if (targetPage.indexOf(":") != -1)
         targetPage = "undefined";
+    if (targetPage != "" && !validURL(targetPage))
+        targetPage = "undefined";
+    function validURL(url) {
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_') {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
     function loadFrames() {
         if (targetPage != "" && targetPage != "undefined")
              top.classFrame.location = top.targetPage;



Mime
View raw message