php: filter double dot und double slash from String
2018-04-15
IN1, 2018-04-15 00:00:00
IN1, 2023-04-10 14:16:29


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
IN1, 2018-03-24 00:00:00
IN1, 2023-04-10 14:16:29


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.< […]



This website uses Cookies to provide you with the best possible service. Please see our Privacy Policy for more information. Click the check box below to accept cookies. Then confirm with a click on "Save".