mailbox_display.php patch php7.0 Ubuntu16.04 nginx
[email protected] Wed, 11 May 2016 17:01:59 -0700
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
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)
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel