From: <jo...@br...> - 2016-05-12 00:17:50
|
Hi, All; mailbox_display.php was producing bad locations after upgrade. Had to use php basename() on locations. Patch listed below. Thanks, Jo3 --- /squirrelmail/functions/mailbox_display.php 2016-01-01 12:04:30.000000000 -0800 +++ /squirrelmailu1604/functions/mailbox_display.php 2016-05-11 16:42:27.779936838 -0700 @@ -797,6 +797,7 @@ } else { $location = $php_self; } + $location = basename($location); // $location = urlencode($location); @@ -954,6 +955,7 @@ $source_url = $PHP_SELF; } + $source_url = basename($source_url); /* Now that we have everything figured out, show the actual button. */ echo ' <a href="' . $source_url .'?newsort=' . $which . '&startMessage=1&mailbox=' . urlencode($mailbox) |