Author: bpendleton Date: Sun Feb 28 02:39:32 2016 New Revision: 981305 Log: DERBY-6875: Mirror selection broken on Derby download pages.
Something about www.apache.org/dyn/mirrors/mirrors.cgi has changed recently, and the dynamic mirror selection part of that tool now wants a slightly different format in the release downloads page that it processes. Specifically, the mirror selection template used to be acceptable if it was included in the page, but was embedded in HTML/XML comment syntax ( <!-- ... --> ). Now those comment markers cause the mirror selection tools to be non-functional. This change removes the comment markers from the mirror selection from the 10.11 and 10.12 download pages. Modified: websites/production/db/content/derby/releases/release-10.11.1.1.html websites/production/db/content/derby/releases/release-10.12.1.1.html Modified: websites/production/db/content/derby/releases/release-10.11.1.1.html ============================================================================== --- websites/production/db/content/derby/releases/release-10.11.1.1.html (original) +++ websites/production/db/content/derby/releases/release-10.11.1.1.html Sun Feb 28 02:39:32 2016 @@ -522,12 +522,12 @@ document.write("Last Published: " + docu <p>You are currently using <strong>[preferred]</strong>. If you encounter a problem with this mirror, then please select another. If all mirrors are failing, there are backup mirrors at the end of the list. See <a class="external" href="http://www.apache.org/mirrors/">status</a> of mirrors.</p> <a name="SelectMirror"></a> <form action="[location]" method="get" id="SelectMirror">Other mirrors: <select name="Preferred"> -<!--[if-any http] [for http]--><option value="[http]">[http]</option> -<!--[end] [end]--> -<!--[if-any ftp] [for ftp]--><option value="[ftp]">[ftp]</option> -<!--[end] [end]--> -<!--[if-any backup] [for backup]--><option value="[backup]">[backup] (backup)</option> -<!--[end] [end]--></select> <input type="submit" value="Change"> +[if-any http] [for http]<option value="[http]">[http]</option> +[end] [end] +[if-any ftp] [for ftp]<option value="[ftp]">[ftp]</option> +[end] [end] +[if-any backup] [for backup]<option value="[backup]">[backup] (backup)</option> +[end] [end]</select> <input type="submit" value="Change"> </form> <p>There are four different distributions:</p> <ul> Modified: websites/production/db/content/derby/releases/release-10.12.1.1.html ============================================================================== --- websites/production/db/content/derby/releases/release-10.12.1.1.html (original) +++ websites/production/db/content/derby/releases/release-10.12.1.1.html Sun Feb 28 02:39:32 2016 @@ -522,12 +522,12 @@ document.write("Last Published: " + docu <p>You are currently using <strong>[preferred]</strong>. If you encounter a problem with this mirror, then please select another. If all mirrors are failing, there are backup mirrors at the end of the list. See <a class="external" href="http://www.apache.org/mirrors/">status</a> of mirrors.</p> <a name="SelectMirror"></a> <form action="[location]" method="get" id="SelectMirror">Other mirrors: <select name="Preferred"> -<!--[if-any http] [for http]--><option value="[http]">[http]</option> -<!--[end] [end]--> -<!--[if-any ftp] [for ftp]--><option value="[ftp]">[ftp]</option> -<!--[end] [end]--> -<!--[if-any backup] [for backup]--><option value="[backup]">[backup] (backup)</option> -<!--[end] [end]--></select> <input type="submit" value="Change"> +[if-any http] [for http]<option value="[http]">[http]</option> +[end] [end] +[if-any ftp] [for ftp]<option value="[ftp]">[ftp]</option> +[end] [end] +[if-any backup] [for backup]<option value="[backup]">[backup] (backup)</option> +[end] [end]</select> <input type="submit" value="Change"> </form> <p>There are four different distributions:</p> <ul>