]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/style.php
Merge pull request #7449 from annando/img-upload
[friendica.git] / view / theme / quattro / style.php
index 08756ec4aa63bc16685d2b6aacccbc102d3e93d6..cca458a254ff4529b84d7bc3ca0c9cf646fe38f5 100644 (file)
@@ -26,6 +26,8 @@ if ($quattro_align === false) {
        $quattro_align = $site_quattro_align;
 }
 
+$color = \Friendica\Util\Strings::sanitizeFilePathItem($color);
+
 if (file_exists("$THEMEPATH/$color/style.css")) {
        echo file_get_contents("$THEMEPATH/$color/style.css");
 }