mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Updated Autolinker library (Closes #532)
This commit is contained in:
parent
45fc261b28
commit
f817a680a2
15 changed files with 3145 additions and 869 deletions
|
|
@ -372,11 +372,24 @@ class Actions
|
|||
|
||||
$sQuery = \trim(\trim($sQuery), ' /');
|
||||
|
||||
$sSubQuerty = \trim(\trim($this->Http()->GetQuery('s', '')), ' /');
|
||||
$sSubSubQuerty = \trim(\trim($this->Http()->GetQuery('ss', '')), ' /');
|
||||
$aSubQuery = $this->Http()->GetQuery('q', null);
|
||||
if (\is_array($aSubQuery))
|
||||
{
|
||||
$aSubQuery = \array_map(function ($sS) {
|
||||
return \trim(\trim($sS), ' /');
|
||||
}, $aSubQuery);
|
||||
|
||||
$sQuery .= 0 < \strlen($sSubQuerty) ? '/'.$sSubQuerty : '';
|
||||
$sQuery .= 0 < \strlen($sSubSubQuerty) ? '/'.$sSubSubQuerty : '';
|
||||
if (0 < \count($aSubQuery))
|
||||
{
|
||||
$sQuery .= '/'.\implode('/', $aSubQuery);
|
||||
}
|
||||
}
|
||||
|
||||
// $sSubQuerty = \trim(\trim($this->Http()->GetQuery('s', '')), ' /');
|
||||
// $sSubSubQuerty = \trim(\trim($this->Http()->GetQuery('ss', '')), ' /');
|
||||
//
|
||||
// $sQuery .= 0 < \strlen($sSubQuerty) ? '/'.$sSubQuerty : '';
|
||||
// $sQuery .= 0 < \strlen($sSubSubQuerty) ? '/'.$sSubSubQuerty : '';
|
||||
|
||||
if ('' === $this->GetSpecAuthToken())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue