diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 68bbf58bf..f9f0e69f9 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -621,7 +621,7 @@ def validate_css(css): if '@import' in css: return False, "@import statements are not allowed!" - if '/**/' in css: + if '/*' in css: return False, "Comments are not allowed!" for i in css_url_regex.finditer(css):