src/Assets/LocalStorageAssetCatalogueProvider.php
private function getCategoryDirectory()
    {
        if (!$this->category){
            return "_default";
        }

        $category = preg_replace("/\\W/","-",$this->category);
        $category = preg_replace("/-+/","-",$category);
        $category .= crc32($this->category);

        return $category;
    }
private function getCategoryDirectory()
    {
        if (!$this->category){
            return "_default";
        }

        $category = preg_replace("/\\W/","-",$this->category);
        $category = preg_replace("/-+/","-",$category);
        $category .= crc32($this->category);

        return $category;
    }
private function getCategoryDirectory ( ) { if ( ! $ this -> category ) { return "_default" ; } $ category = preg_replace ( "/\\W/" , "-" , $ this -> category ) ; $ category = preg_replace ( "/-+/" , "-" , $ category ) ; $ category .= crc32 ( $ this -> category ) ; return $ category ; }
Makes the category name safe to use for a file path but guaranteed unique.

e.g. This! and This@ should both work.
Makes the category name safe to use for a file path but guaranteed unique .