lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r919259 - in /websites/staging/lucene/trunk/content: ./ core/ openrelevance/ pylucene/ pylucene/jcc/ solr/
Date Wed, 13 Aug 2014 17:26:15 GMT
Author: buildbot
Date: Wed Aug 13 17:26:13 2014
New Revision: 919259

Log:
Staging update by buildbot for lucene

Modified:
    websites/staging/lucene/trunk/content/   (props changed)
    websites/staging/lucene/trunk/content/core/corenews.html
    websites/staging/lucene/trunk/content/core/developer.html
    websites/staging/lucene/trunk/content/core/discussion.html
    websites/staging/lucene/trunk/content/core/documentation.html
    websites/staging/lucene/trunk/content/core/downloads.html
    websites/staging/lucene/trunk/content/core/features.html
    websites/staging/lucene/trunk/content/core/index.html
    websites/staging/lucene/trunk/content/core/mirrors-core-latest-redir.html
    websites/staging/lucene/trunk/content/core/mirrors-core-redir.html
    websites/staging/lucene/trunk/content/core/quickstart.html
    websites/staging/lucene/trunk/content/core/systemreqs.html
    websites/staging/lucene/trunk/content/index.html
    websites/staging/lucene/trunk/content/mainnews.html
    websites/staging/lucene/trunk/content/openrelevance/index.html
    websites/staging/lucene/trunk/content/openrelevance/mailing-lists.html
    websites/staging/lucene/trunk/content/openrelevance/orpnews.html
    websites/staging/lucene/trunk/content/privacy.html
    websites/staging/lucene/trunk/content/pylucene/features.html
    websites/staging/lucene/trunk/content/pylucene/index.html
    websites/staging/lucene/trunk/content/pylucene/install.html
    websites/staging/lucene/trunk/content/pylucene/jcc/features.html
    websites/staging/lucene/trunk/content/pylucene/jcc/index.html
    websites/staging/lucene/trunk/content/pylucene/jcc/install.html
    websites/staging/lucene/trunk/content/pylucene/mailing-lists.html
    websites/staging/lucene/trunk/content/pylucene/pynews.html
    websites/staging/lucene/trunk/content/pylucene/version_control.html
    websites/staging/lucene/trunk/content/site-instructions.html
    websites/staging/lucene/trunk/content/solr/books.html
    websites/staging/lucene/trunk/content/solr/discussion.html
    websites/staging/lucene/trunk/content/solr/documentation.html
    websites/staging/lucene/trunk/content/solr/downloads.html
    websites/staging/lucene/trunk/content/solr/features.html
    websites/staging/lucene/trunk/content/solr/index.html
    websites/staging/lucene/trunk/content/solr/mirrors-solr-latest-redir.html
    websites/staging/lucene/trunk/content/solr/mirrors-solr-redir.html
    websites/staging/lucene/trunk/content/solr/quickstart.html
    websites/staging/lucene/trunk/content/solr/screenshots.html
    websites/staging/lucene/trunk/content/solr/solrnews.html
    websites/staging/lucene/trunk/content/solr/tutorial.html
    websites/staging/lucene/trunk/content/solr/versioncontrol.html
    websites/staging/lucene/trunk/content/whoweare.html

Propchange: websites/staging/lucene/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Aug 13 17:26:13 2014
@@ -1 +1 @@
-1617186
+1617773

Modified: websites/staging/lucene/trunk/content/core/corenews.html
==============================================================================
--- websites/staging/lucene/trunk/content/core/corenews.html (original)
+++ websites/staging/lucene/trunk/content/core/corenews.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/core/developer.html
==============================================================================
--- websites/staging/lucene/trunk/content/core/developer.html (original)
+++ websites/staging/lucene/trunk/content/core/developer.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/core/discussion.html
==============================================================================
--- websites/staging/lucene/trunk/content/core/discussion.html (original)
+++ websites/staging/lucene/trunk/content/core/discussion.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/core/documentation.html
==============================================================================
--- websites/staging/lucene/trunk/content/core/documentation.html (original)
+++ websites/staging/lucene/trunk/content/core/documentation.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/core/downloads.html
==============================================================================
--- websites/staging/lucene/trunk/content/core/downloads.html (original)
+++ websites/staging/lucene/trunk/content/core/downloads.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/core/features.html
==============================================================================
--- websites/staging/lucene/trunk/content/core/features.html (original)
+++ websites/staging/lucene/trunk/content/core/features.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/core/index.html
==============================================================================
--- websites/staging/lucene/trunk/content/core/index.html (original)
+++ websites/staging/lucene/trunk/content/core/index.html Wed Aug 13 17:26:13 2014
@@ -83,8 +83,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/core/mirrors-core-latest-redir.html
==============================================================================
--- websites/staging/lucene/trunk/content/core/mirrors-core-latest-redir.html (original)
+++ websites/staging/lucene/trunk/content/core/mirrors-core-latest-redir.html Wed Aug 13 17:26:13
2014
@@ -127,8 +127,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/core/mirrors-core-redir.html
==============================================================================
--- websites/staging/lucene/trunk/content/core/mirrors-core-redir.html (original)
+++ websites/staging/lucene/trunk/content/core/mirrors-core-redir.html Wed Aug 13 17:26:13
2014
@@ -125,8 +125,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/core/quickstart.html
==============================================================================
--- websites/staging/lucene/trunk/content/core/quickstart.html (original)
+++ websites/staging/lucene/trunk/content/core/quickstart.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/core/systemreqs.html
==============================================================================
--- websites/staging/lucene/trunk/content/core/systemreqs.html (original)
+++ websites/staging/lucene/trunk/content/core/systemreqs.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/index.html
==============================================================================
--- websites/staging/lucene/trunk/content/index.html (original)
+++ websites/staging/lucene/trunk/content/index.html Wed Aug 13 17:26:13 2014
@@ -82,8 +82,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/mainnews.html
==============================================================================
--- websites/staging/lucene/trunk/content/mainnews.html (original)
+++ websites/staging/lucene/trunk/content/mainnews.html Wed Aug 13 17:26:13 2014
@@ -81,8 +81,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/openrelevance/index.html
==============================================================================
--- websites/staging/lucene/trunk/content/openrelevance/index.html (original)
+++ websites/staging/lucene/trunk/content/openrelevance/index.html Wed Aug 13 17:26:13 2014
@@ -81,8 +81,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/openrelevance/mailing-lists.html
==============================================================================
--- websites/staging/lucene/trunk/content/openrelevance/mailing-lists.html (original)
+++ websites/staging/lucene/trunk/content/openrelevance/mailing-lists.html Wed Aug 13 17:26:13
2014
@@ -81,8 +81,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/openrelevance/orpnews.html
==============================================================================
--- websites/staging/lucene/trunk/content/openrelevance/orpnews.html (original)
+++ websites/staging/lucene/trunk/content/openrelevance/orpnews.html Wed Aug 13 17:26:13 2014
@@ -81,8 +81,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/privacy.html
==============================================================================
--- websites/staging/lucene/trunk/content/privacy.html (original)
+++ websites/staging/lucene/trunk/content/privacy.html Wed Aug 13 17:26:13 2014
@@ -81,8 +81,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/pylucene/features.html
==============================================================================
--- websites/staging/lucene/trunk/content/pylucene/features.html (original)
+++ websites/staging/lucene/trunk/content/pylucene/features.html Wed Aug 13 17:26:13 2014
@@ -83,8 +83,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/pylucene/index.html
==============================================================================
--- websites/staging/lucene/trunk/content/pylucene/index.html (original)
+++ websites/staging/lucene/trunk/content/pylucene/index.html Wed Aug 13 17:26:13 2014
@@ -83,8 +83,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/pylucene/install.html
==============================================================================
--- websites/staging/lucene/trunk/content/pylucene/install.html (original)
+++ websites/staging/lucene/trunk/content/pylucene/install.html Wed Aug 13 17:26:13 2014
@@ -83,8 +83,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/pylucene/jcc/features.html
==============================================================================
--- websites/staging/lucene/trunk/content/pylucene/jcc/features.html (original)
+++ websites/staging/lucene/trunk/content/pylucene/jcc/features.html Wed Aug 13 17:26:13 2014
@@ -85,8 +85,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/pylucene/jcc/index.html
==============================================================================
--- websites/staging/lucene/trunk/content/pylucene/jcc/index.html (original)
+++ websites/staging/lucene/trunk/content/pylucene/jcc/index.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/pylucene/jcc/install.html
==============================================================================
--- websites/staging/lucene/trunk/content/pylucene/jcc/install.html (original)
+++ websites/staging/lucene/trunk/content/pylucene/jcc/install.html Wed Aug 13 17:26:13 2014
@@ -85,8 +85,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/pylucene/mailing-lists.html
==============================================================================
--- websites/staging/lucene/trunk/content/pylucene/mailing-lists.html (original)
+++ websites/staging/lucene/trunk/content/pylucene/mailing-lists.html Wed Aug 13 17:26:13
2014
@@ -83,8 +83,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/pylucene/pynews.html
==============================================================================
--- websites/staging/lucene/trunk/content/pylucene/pynews.html (original)
+++ websites/staging/lucene/trunk/content/pylucene/pynews.html Wed Aug 13 17:26:13 2014
@@ -83,8 +83,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/pylucene/version_control.html
==============================================================================
--- websites/staging/lucene/trunk/content/pylucene/version_control.html (original)
+++ websites/staging/lucene/trunk/content/pylucene/version_control.html Wed Aug 13 17:26:13
2014
@@ -83,8 +83,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/site-instructions.html
==============================================================================
--- websites/staging/lucene/trunk/content/site-instructions.html (original)
+++ websites/staging/lucene/trunk/content/site-instructions.html Wed Aug 13 17:26:13 2014
@@ -81,8 +81,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/books.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/books.html (original)
+++ websites/staging/lucene/trunk/content/solr/books.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/discussion.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/discussion.html (original)
+++ websites/staging/lucene/trunk/content/solr/discussion.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/documentation.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/documentation.html (original)
+++ websites/staging/lucene/trunk/content/solr/documentation.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/downloads.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/downloads.html (original)
+++ websites/staging/lucene/trunk/content/solr/downloads.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/features.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/features.html (original)
+++ websites/staging/lucene/trunk/content/solr/features.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/index.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/index.html (original)
+++ websites/staging/lucene/trunk/content/solr/index.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/mirrors-solr-latest-redir.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/mirrors-solr-latest-redir.html (original)
+++ websites/staging/lucene/trunk/content/solr/mirrors-solr-latest-redir.html Wed Aug 13 17:26:13
2014
@@ -129,8 +129,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/mirrors-solr-redir.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/mirrors-solr-redir.html (original)
+++ websites/staging/lucene/trunk/content/solr/mirrors-solr-redir.html Wed Aug 13 17:26:13
2014
@@ -128,8 +128,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/quickstart.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/quickstart.html (original)
+++ websites/staging/lucene/trunk/content/solr/quickstart.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/screenshots.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/screenshots.html (original)
+++ websites/staging/lucene/trunk/content/solr/screenshots.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/solrnews.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/solrnews.html (original)
+++ websites/staging/lucene/trunk/content/solr/solrnews.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/tutorial.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/tutorial.html (original)
+++ websites/staging/lucene/trunk/content/solr/tutorial.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/solr/versioncontrol.html
==============================================================================
--- websites/staging/lucene/trunk/content/solr/versioncontrol.html (original)
+++ websites/staging/lucene/trunk/content/solr/versioncontrol.html Wed Aug 13 17:26:13 2014
@@ -84,8 +84,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>

Modified: websites/staging/lucene/trunk/content/whoweare.html
==============================================================================
--- websites/staging/lucene/trunk/content/whoweare.html (original)
+++ websites/staging/lucene/trunk/content/whoweare.html Wed Aug 13 17:26:13 2014
@@ -81,8 +81,6 @@
       expires = "; expires=" + date.toGMTString();
       document.cookie = "searchProvider=" + provider + expires + "; path=/";
 
-      // replace some chars to not trigger XSS in external provider:
-      form.elements['q'].value = form.elements['q'].value.toString().replace(/[&"<>]+/g,
" ");
       return true;
     }
   </script>



Mime
View raw message