FAQ
Author: scottcarey
Date: Thu Jun 20 16:39:35 2013
New Revision: 1495093

URL: http://svn.apache.org/r1495093
Log:
AVRO-1349 fix javadoc vulnerability in generated site javadoc

Modified:
     avro/site/publish/docs/1.0.0/api/java/index.html
     avro/site/publish/docs/1.1.0/api/java/index.html
     avro/site/publish/docs/1.2.0/api/java/index.html
     avro/site/publish/docs/1.3.0/api/java/index.html
     avro/site/publish/docs/1.3.1/api/java/index.html
     avro/site/publish/docs/1.3.2/api/java/index.html
     avro/site/publish/docs/1.3.3/api/java/index.html
     avro/site/publish/docs/1.4.0/api/java/index.html
     avro/site/publish/docs/1.4.1/api/java/index.html
     avro/site/publish/docs/1.5.0/api/java/index.html
     avro/site/publish/docs/1.5.1/api/java/index.html
     avro/site/publish/docs/1.5.2/api/java/index.html
     avro/site/publish/docs/1.5.3/api/java/index.html
     avro/site/publish/docs/1.5.4/api/java/index.html
     avro/site/publish/docs/1.6.0/api/java/index.html
     avro/site/publish/docs/1.6.1/api/java/index.html
     avro/site/publish/docs/1.6.2/api/java/index.html
     avro/site/publish/docs/1.6.3/api/java/index.html
     avro/site/publish/docs/1.7.0/api/java/index.html
     avro/site/publish/docs/1.7.1/api/java/index.html
     avro/site/publish/docs/1.7.2/api/java/index.html
     avro/site/publish/docs/1.7.3/api/java/index.html
     avro/site/publish/docs/1.7.4/api/java/index.html

Modified: avro/site/publish/docs/1.0.0/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.0.0/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.0.0/api/java/index.html (original)
+++ avro/site/publish/docs/1.0.0/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -12,6 +12,42 @@ Avro 1.0.0 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: avro/site/publish/docs/1.1.0/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.1.0/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.1.0/api/java/index.html (original)
+++ avro/site/publish/docs/1.1.0/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -12,6 +12,42 @@ Avro 1.1.0 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: avro/site/publish/docs/1.2.0/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.2.0/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.2.0/api/java/index.html (original)
+++ avro/site/publish/docs/1.2.0/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -12,6 +12,42 @@ Avro 1.2.0 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: avro/site/publish/docs/1.3.0/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.3.0/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.3.0/api/java/index.html (original)
+++ avro/site/publish/docs/1.3.0/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -12,6 +12,42 @@ Avro 1.3.0 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: avro/site/publish/docs/1.3.1/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.3.1/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.3.1/api/java/index.html (original)
+++ avro/site/publish/docs/1.3.1/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -12,6 +12,42 @@ Avro 1.3.1 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: avro/site/publish/docs/1.3.2/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.3.2/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.3.2/api/java/index.html (original)
+++ avro/site/publish/docs/1.3.2/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -12,6 +12,42 @@ Avro 1.3.2 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: avro/site/publish/docs/1.3.3/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.3.3/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.3.3/api/java/index.html (original)
+++ avro/site/publish/docs/1.3.3/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -12,6 +12,42 @@ Avro 1.3.3 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: avro/site/publish/docs/1.4.0/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.4.0/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.4.0/api/java/index.html (original)
+++ avro/site/publish/docs/1.4.0/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -12,6 +12,42 @@ Avro 1.4.0 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: avro/site/publish/docs/1.4.1/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.4.1/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.4.1/api/java/index.html (original)
+++ avro/site/publish/docs/1.4.1/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -12,6 +12,42 @@ Avro 1.4.1 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: avro/site/publish/docs/1.5.0/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.5.0/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.5.0/api/java/index.html (original)
+++ avro/site/publish/docs/1.5.0/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -13,6 +13,42 @@ Apache Avro Java 1.5.0 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: avro/site/publish/docs/1.5.1/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.5.1/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.5.1/api/java/index.html (original)
+++ avro/site/publish/docs/1.5.1/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -13,6 +13,42 @@ Apache Avro Java 1.5.1 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: avro/site/publish/docs/1.5.2/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.5.2/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.5.2/api/java/index.html (original)
+++ avro/site/publish/docs/1.5.2/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -13,6 +13,42 @@ Apache Avro Java 1.5.2 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: avro/site/publish/docs/1.5.3/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.5.3/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.5.3/api/java/index.html (original)
+++ avro/site/publish/docs/1.5.3/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -13,6 +13,42 @@ Apache Avro Java 1.5.3 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: avro/site/publish/docs/1.5.4/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.5.4/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.5.4/api/java/index.html (original)
+++ avro/site/publish/docs/1.5.4/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -13,6 +13,42 @@ Apache Avro Java 1.5.4 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: avro/site/publish/docs/1.6.0/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.6.0/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.6.0/api/java/index.html (original)
+++ avro/site/publish/docs/1.6.0/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -13,6 +13,42 @@ Apache Avro Java 1.6.0 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: avro/site/publish/docs/1.6.1/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.6.1/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.6.1/api/java/index.html (original)
+++ avro/site/publish/docs/1.6.1/api/java/index.html Thu Jun 20 16:39:35 2013
@@ -13,6 +13,42 @@ Apache Avro Java 1.6.1 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: avro/site/publish/docs/1.6.2/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.6.2/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.6.2/api/java/index.html (original)
+++ avro/site/publish/docs/1.6.2/api/java/index.html Thu Jun 20 16:39:35 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: avro/site/publish/docs/1.6.3/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.6.3/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.6.3/api/java/index.html (original)
+++ avro/site/publish/docs/1.6.3/api/java/index.html Thu Jun 20 16:39:35 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: avro/site/publish/docs/1.7.0/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.7.0/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.7.0/api/java/index.html (original)
+++ avro/site/publish/docs/1.7.0/api/java/index.html Thu Jun 20 16:39:35 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: avro/site/publish/docs/1.7.1/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.7.1/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.7.1/api/java/index.html (original)
+++ avro/site/publish/docs/1.7.1/api/java/index.html Thu Jun 20 16:39:35 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: avro/site/publish/docs/1.7.2/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.7.2/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.7.2/api/java/index.html (original)
+++ avro/site/publish/docs/1.7.2/api/java/index.html Thu Jun 20 16:39:35 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: avro/site/publish/docs/1.7.3/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.7.3/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.7.3/api/java/index.html (original)
+++ avro/site/publish/docs/1.7.3/api/java/index.html Thu Jun 20 16:39:35 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: avro/site/publish/docs/1.7.4/api/java/index.html
URL: http://svn.apache.org/viewvc/avro/site/publish/docs/1.7.4/api/java/index.html?rev=1495093&r1=1495092&r2=1495093&view=diff
==============================================================================
--- avro/site/publish/docs/1.7.4/api/java/index.html (original)
+++ avro/site/publish/docs/1.7.4/api/java/index.html Thu Jun 20 16:39:35 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;

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupcommits @
categoriesavro
postedJun 20, '13 at 4:40p
activeJun 20, '13 at 4:40p
posts1
users1
websiteavro.apache.org
irc#avro

1 user in discussion

Scottcarey: 1 post

People

Translate

site design / logo © 2021 Grokbase