accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject svn commit: r1495559 - in /accumulo/site: branches/git/maven-site/accumulo-core/apidocs/ branches/git/maven-site/accumulo-fate/apidocs/ branches/git/maven-site/accumulo-proxy/apidocs/ branches/git/maven-site/accumulo-server/apidocs/ branches/git/maven-...
Date Fri, 21 Jun 2013 19:31:11 GMT
Author: ctubbsii
Date: Fri Jun 21 19:31:10 2013
New Revision: 1495559

URL: http://svn.apache.org/r1495559
Log:
Fix javadoc vulnerability using tool at http://www.oracle.com/technetwork/java/javase/downloads/java-doc-updater-tool-1955731.html

Modified:
    accumulo/site/branches/git/maven-site/accumulo-core/apidocs/index.html
    accumulo/site/branches/git/maven-site/accumulo-fate/apidocs/index.html
    accumulo/site/branches/git/maven-site/accumulo-proxy/apidocs/index.html
    accumulo/site/branches/git/maven-site/accumulo-server/apidocs/index.html
    accumulo/site/branches/git/maven-site/accumulo-start/apidocs/index.html
    accumulo/site/branches/git/maven-site/accumulo-test/apidocs/index.html
    accumulo/site/branches/git/maven-site/accumulo-trace/apidocs/index.html
    accumulo/site/trunk/maven-site/accumulo-core/apidocs/index.html
    accumulo/site/trunk/maven-site/accumulo-fate/apidocs/index.html
    accumulo/site/trunk/maven-site/accumulo-proxy/apidocs/index.html
    accumulo/site/trunk/maven-site/accumulo-server/apidocs/index.html
    accumulo/site/trunk/maven-site/accumulo-start/apidocs/index.html
    accumulo/site/trunk/maven-site/accumulo-test/apidocs/index.html
    accumulo/site/trunk/maven-site/accumulo-trace/apidocs/index.html

Modified: accumulo/site/branches/git/maven-site/accumulo-core/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/branches/git/maven-site/accumulo-core/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/branches/git/maven-site/accumulo-core/apidocs/index.html (original)
+++ accumulo/site/branches/git/maven-site/accumulo-core/apidocs/index.html Fri Jun 21 19:31:10
2013
@@ -13,6 +13,42 @@ Core 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/branches/git/maven-site/accumulo-fate/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/branches/git/maven-site/accumulo-fate/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/branches/git/maven-site/accumulo-fate/apidocs/index.html (original)
+++ accumulo/site/branches/git/maven-site/accumulo-fate/apidocs/index.html Fri Jun 21 19:31:10
2013
@@ -13,6 +13,42 @@ Fate 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/branches/git/maven-site/accumulo-proxy/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/branches/git/maven-site/accumulo-proxy/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/branches/git/maven-site/accumulo-proxy/apidocs/index.html (original)
+++ accumulo/site/branches/git/maven-site/accumulo-proxy/apidocs/index.html Fri Jun 21 19:31:10
2013
@@ -13,6 +13,42 @@ Proxy 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/branches/git/maven-site/accumulo-server/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/branches/git/maven-site/accumulo-server/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/branches/git/maven-site/accumulo-server/apidocs/index.html (original)
+++ accumulo/site/branches/git/maven-site/accumulo-server/apidocs/index.html Fri Jun 21 19:31:10
2013
@@ -13,6 +13,42 @@ Server 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/branches/git/maven-site/accumulo-start/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/branches/git/maven-site/accumulo-start/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/branches/git/maven-site/accumulo-start/apidocs/index.html (original)
+++ accumulo/site/branches/git/maven-site/accumulo-start/apidocs/index.html Fri Jun 21 19:31:10
2013
@@ -13,6 +13,42 @@ Start 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/branches/git/maven-site/accumulo-test/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/branches/git/maven-site/accumulo-test/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/branches/git/maven-site/accumulo-test/apidocs/index.html (original)
+++ accumulo/site/branches/git/maven-site/accumulo-test/apidocs/index.html Fri Jun 21 19:31:10
2013
@@ -13,6 +13,42 @@ Testing 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/branches/git/maven-site/accumulo-trace/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/branches/git/maven-site/accumulo-trace/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/branches/git/maven-site/accumulo-trace/apidocs/index.html (original)
+++ accumulo/site/branches/git/maven-site/accumulo-trace/apidocs/index.html Fri Jun 21 19:31:10
2013
@@ -13,6 +13,42 @@ Trace 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/trunk/maven-site/accumulo-core/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/maven-site/accumulo-core/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/trunk/maven-site/accumulo-core/apidocs/index.html (original)
+++ accumulo/site/trunk/maven-site/accumulo-core/apidocs/index.html Fri Jun 21 19:31:10 2013
@@ -13,6 +13,42 @@ Core 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/trunk/maven-site/accumulo-fate/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/maven-site/accumulo-fate/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/trunk/maven-site/accumulo-fate/apidocs/index.html (original)
+++ accumulo/site/trunk/maven-site/accumulo-fate/apidocs/index.html Fri Jun 21 19:31:10 2013
@@ -13,6 +13,42 @@ Fate 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/trunk/maven-site/accumulo-proxy/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/maven-site/accumulo-proxy/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/trunk/maven-site/accumulo-proxy/apidocs/index.html (original)
+++ accumulo/site/trunk/maven-site/accumulo-proxy/apidocs/index.html Fri Jun 21 19:31:10 2013
@@ -13,6 +13,42 @@ Proxy 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/trunk/maven-site/accumulo-server/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/maven-site/accumulo-server/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/trunk/maven-site/accumulo-server/apidocs/index.html (original)
+++ accumulo/site/trunk/maven-site/accumulo-server/apidocs/index.html Fri Jun 21 19:31:10
2013
@@ -13,6 +13,42 @@ Server 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/trunk/maven-site/accumulo-start/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/maven-site/accumulo-start/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/trunk/maven-site/accumulo-start/apidocs/index.html (original)
+++ accumulo/site/trunk/maven-site/accumulo-start/apidocs/index.html Fri Jun 21 19:31:10 2013
@@ -13,6 +13,42 @@ Start 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/trunk/maven-site/accumulo-test/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/maven-site/accumulo-test/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/trunk/maven-site/accumulo-test/apidocs/index.html (original)
+++ accumulo/site/trunk/maven-site/accumulo-test/apidocs/index.html Fri Jun 21 19:31:10 2013
@@ -13,6 +13,42 @@ Testing 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: accumulo/site/trunk/maven-site/accumulo-trace/apidocs/index.html
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/maven-site/accumulo-trace/apidocs/index.html?rev=1495559&r1=1495558&r2=1495559&view=diff
==============================================================================
--- accumulo/site/trunk/maven-site/accumulo-trace/apidocs/index.html (original)
+++ accumulo/site/trunk/maven-site/accumulo-trace/apidocs/index.html Fri Jun 21 19:31:10 2013
@@ -13,6 +13,42 @@ Trace 1.6.0-SNAPSHOT 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;
@@ -37,4 +73,4 @@ This document is designed to be viewed u
 Link to<A HREF="overview-summary.html">Non-frame version.</A>
 </NOFRAMES>
 </FRAMESET>
-</HTML>
\ No newline at end of file
+</HTML>



Mime
View raw message