mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #1703
This commit is contained in:
parent
d87c46ff03
commit
3ba75fecba
1 changed files with 3 additions and 0 deletions
|
|
@ -66,9 +66,12 @@ abstract class Service
|
||||||
}
|
}
|
||||||
|
|
||||||
$sQuery = \trim($_SERVER['QUERY_STRING'] ?? '');
|
$sQuery = \trim($_SERVER['QUERY_STRING'] ?? '');
|
||||||
|
/*
|
||||||
|
https://github.com/the-djmaze/snappymail/commit/47d18cafa38dd526b4221c2a72d1529e4fa1d255#r144395031
|
||||||
if (!empty($_SERVER['PATH_INFO'])) {
|
if (!empty($_SERVER['PATH_INFO'])) {
|
||||||
$sQuery = \ltrim($_SERVER['PATH_INFO'],'/') . '&' . $sQuery;
|
$sQuery = \ltrim($_SERVER['PATH_INFO'],'/') . '&' . $sQuery;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
$iPos = \strpos($sQuery, '&');
|
$iPos = \strpos($sQuery, '&');
|
||||||
if (0 < $iPos) {
|
if (0 < $iPos) {
|
||||||
$sQuery = \substr($sQuery, 0, $iPos);
|
$sQuery = \substr($sQuery, 0, $iPos);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue