php: filter double dot und double slash from String
2018-04-15
Code
/**
* @param string $sAbsoluteFilePath
* @return string
*/
function secureFilePath($sAbsoluteFilePath = '')
{
$sAbsoluteFilePath = removeDoubleDotSlashesFromString($sAbsoluteFilePath);
$sAbsoluteFilePath = replaceMultipleForwardSlashesByOneFromString($sAbsoluteFilePath);
/**@var string */
return $sAbsoluteFilePath;
}
/**
* @param string $sString
* @return string
*/
function removeDoubleDotSlashesFromString($sString = '')
{
[…]
Thunderbird starts with two window instances
2018-03-24
German Version: /post/2018/03/24/thunderbird-startet-mit-zwei-fenster-instanzen/
Problem description: Thunderbird always starts with two window instances, no matter how Thunderbird is started: via QuickStarter, from the K-Menu, or via console. If one of the two windows is closed, both always close.< […]