You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@any23.apache.org by ma...@apache.org on 2013/06/23 18:37:19 UTC

svn commit: r1495841 - in /any23/site: any23-core/apidocs/ any23-core/testapidocs/ any23-service/apidocs/ any23-service/testapidocs/ apidocs/ plugins/any23-basic-crawler/apidocs/ plugins/any23-basic-crawler/testapidocs/ plugins/any23-html-scraper/apido...

Author: markt
Date: Sun Jun 23 16:37:19 2013
New Revision: 1495841

URL: http://svn.apache.org/r1495841
Log:
Fix published Javadoc affected by CVE-2013-1571.
This commit has been performed by the ASF Infrastructure team.

Please ensure that your build processes are reviewed (and fixed if
necessary) to ensure that any updates to this Javadoc do not
re-introduce the vulnerability.

Modified:
    any23/site/any23-core/apidocs/index.html
    any23/site/any23-core/testapidocs/index.html
    any23/site/any23-service/apidocs/index.html
    any23/site/any23-service/testapidocs/index.html
    any23/site/apidocs/index.html
    any23/site/plugins/any23-basic-crawler/apidocs/index.html
    any23/site/plugins/any23-basic-crawler/testapidocs/index.html
    any23/site/plugins/any23-html-scraper/apidocs/index.html
    any23/site/plugins/any23-html-scraper/testapidocs/index.html
    any23/site/plugins/any23-integration-test/testapidocs/index.html
    any23/site/plugins/any23-office-scraper/apidocs/index.html
    any23/site/plugins/any23-office-scraper/testapidocs/index.html
    any23/site/testapidocs/index.html

Modified: any23/site/any23-core/apidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/any23-core/apidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/any23-core/apidocs/index.html (original)
+++ any23/site/any23-core/apidocs/index.html Sun Jun 23 16:37:19 2013
@@ -13,6 +13,42 @@ Apache Any23 :: Core 0.7.0-incubating-SN
         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: any23/site/any23-core/testapidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/any23-core/testapidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/any23-core/testapidocs/index.html (original)
+++ any23/site/any23-core/testapidocs/index.html Sun Jun 23 16:37:19 2013
@@ -13,6 +13,42 @@ Apache Any23 :: Core 0.7.0-incubating-SN
         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: any23/site/any23-service/apidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/any23-service/apidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/any23-service/apidocs/index.html (original)
+++ any23/site/any23-service/apidocs/index.html Sun Jun 23 16:37:19 2013
@@ -13,6 +13,42 @@ Apache Any23 :: Service 0.7.0-incubating
         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: any23/site/any23-service/testapidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/any23-service/testapidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/any23-service/testapidocs/index.html (original)
+++ any23/site/any23-service/testapidocs/index.html Sun Jun 23 16:37:19 2013
@@ -13,6 +13,42 @@ Apache Any23 :: Service 0.7.0-incubating
         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: any23/site/apidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/apidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/apidocs/index.html (original)
+++ any23/site/apidocs/index.html Sun Jun 23 16:37:19 2013
@@ -11,6 +11,42 @@
         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: any23/site/plugins/any23-basic-crawler/apidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/plugins/any23-basic-crawler/apidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/plugins/any23-basic-crawler/apidocs/index.html (original)
+++ any23/site/plugins/any23-basic-crawler/apidocs/index.html Sun Jun 23 16:37:19 2013
@@ -13,6 +13,42 @@ Apache Any23 :: Plugins :: Basic Crawler
         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: any23/site/plugins/any23-basic-crawler/testapidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/plugins/any23-basic-crawler/testapidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/plugins/any23-basic-crawler/testapidocs/index.html (original)
+++ any23/site/plugins/any23-basic-crawler/testapidocs/index.html Sun Jun 23 16:37:19 2013
@@ -13,6 +13,42 @@ Apache Any23 :: Plugins :: Basic Crawler
         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: any23/site/plugins/any23-html-scraper/apidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/plugins/any23-html-scraper/apidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/plugins/any23-html-scraper/apidocs/index.html (original)
+++ any23/site/plugins/any23-html-scraper/apidocs/index.html Sun Jun 23 16:37:19 2013
@@ -13,6 +13,42 @@ Apache Any23 :: Plugins :: HTML Scraper 
         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: any23/site/plugins/any23-html-scraper/testapidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/plugins/any23-html-scraper/testapidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/plugins/any23-html-scraper/testapidocs/index.html (original)
+++ any23/site/plugins/any23-html-scraper/testapidocs/index.html Sun Jun 23 16:37:19 2013
@@ -13,6 +13,42 @@ Apache Any23 :: Plugins :: HTML Scraper 
         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: any23/site/plugins/any23-integration-test/testapidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/plugins/any23-integration-test/testapidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/plugins/any23-integration-test/testapidocs/index.html (original)
+++ any23/site/plugins/any23-integration-test/testapidocs/index.html Sun Jun 23 16:37:19 2013
@@ -13,6 +13,42 @@ Apache Any23 :: Plugins :: Integration T
         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: any23/site/plugins/any23-office-scraper/apidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/plugins/any23-office-scraper/apidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/plugins/any23-office-scraper/apidocs/index.html (original)
+++ any23/site/plugins/any23-office-scraper/apidocs/index.html Sun Jun 23 16:37:19 2013
@@ -13,6 +13,42 @@ Apache Any23 :: Plugins :: Office Scrape
         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: any23/site/plugins/any23-office-scraper/testapidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/plugins/any23-office-scraper/testapidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/plugins/any23-office-scraper/testapidocs/index.html (original)
+++ any23/site/plugins/any23-office-scraper/testapidocs/index.html Sun Jun 23 16:37:19 2013
@@ -13,6 +13,42 @@ Apache Any23 :: Plugins :: Office Scrape
         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: any23/site/testapidocs/index.html
URL: http://svn.apache.org/viewvc/any23/site/testapidocs/index.html?rev=1495841&r1=1495840&r2=1495841&view=diff
==============================================================================
--- any23/site/testapidocs/index.html (original)
+++ any23/site/testapidocs/index.html Sun Jun 23 16:37:19 2013
@@ -11,6 +11,42 @@
         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;