|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74484 - in website/public_html/live: . doc
From: dnljms_at_[hidden]
Date: 2011-09-21 08:51:09
Author: danieljames
Date: 2011-09-21 08:51:08 EDT (Wed, 21 Sep 2011)
New Revision: 74484
URL: http://svn.boost.org/trac/boost/changeset/74484
Log:
Website: Merge path hack from beta.
Properties modified:
website/public_html/live/ (props changed)
Text files modified:
website/public_html/live/doc/display_libs.php | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
Modified: website/public_html/live/doc/display_libs.php
==============================================================================
--- website/public_html/live/doc/display_libs.php (original)
+++ website/public_html/live/doc/display_libs.php 2011-09-21 08:51:08 EDT (Wed, 21 Sep 2011)
@@ -1,4 +1,13 @@
<?php
+
+if (strpos($_SERVER['REQUEST_URI'], '//') !== FALSE)
+{
+ header("Location: http://$_SERVER[HTTP_HOST]".
+ preg_replace('@//+@','/', $_SERVER['REQUEST_URI']),
+ TRUE, 301);
+ exit(0);
+}
+
require_once(dirname(__FILE__) . '/../common/code/boost_archive.php');
function boost_future_version($version)
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk