diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index d3605f23f..2482a912f 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -623,10 +623,10 @@ def normalize_url(url): def validate_css(css): if '@import' in css: - return False, "@import statements are not allowed!" + return False, "CSS @import statements are not allowed!" if '/*' in css: - return False, "Comments are not allowed!" + return False, "CSS comments are not allowed!" for i in css_url_regex.finditer(css): url = i.group(1)