Revision
2838
Author
cimorrison
Date
2014-05-22 09:54:02 +0000 (Thu, 22 May 2014)

Log Message

Changed form action link to a relative path name from an absolute path name, which was causing problems on some sites with reverse proxy rules.   See the bug report on the MRBS-general mailing list.

Modified Paths

Diff

Modified: mrbs/trunk/web/admin.php (2837 => 2838)


--- mrbs/trunk/web/admin.php	2014-05-09 11:29:36 UTC (rev 2837)
+++ mrbs/trunk/web/admin.php	2014-05-22 09:54:02 UTC (rev 2838)
@@ -99,7 +99,7 @@
   {
     // If there are some areas displayable, then show the area form
     echo "<form id=\"areaChangeForm\" method=\"get\" action=\"".
-      htmlspecialchars($PHP_SELF)."\">\n";
+      htmlspecialchars(basename($PHP_SELF))."\">\n";
     echo "<fieldset>\n";
     echo "<legend></legend>\n";