From 14c5b7ebf0056fdc648eebcde46a0034e817e68a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonah=20Kl=C3=B6ckner?= Date: Wed, 9 Oct 2024 11:13:07 +0200 Subject: [PATCH] fix: spelling of pseudo in varies places --- src/main/java/org/owasp/validator/css/CssValidator.java | 4 ++-- src/main/resources/antisamy-anythinggoes.xml | 4 ++-- src/main/resources/antisamy-ebay.xml | 4 ++-- src/main/resources/antisamy-myspace.xml | 4 ++-- src/main/resources/antisamy.xml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/owasp/validator/css/CssValidator.java b/src/main/java/org/owasp/validator/css/CssValidator.java index ebe71025..f87e2e96 100644 --- a/src/main/java/org/owasp/validator/css/CssValidator.java +++ b/src/main/java/org/owasp/validator/css/CssValidator.java @@ -199,13 +199,13 @@ public boolean isValidCondition(String selectorName, Condition condition) throws policy.getCommonRegularExpressions("cssIDSelector"), policy.getCommonRegularExpressions("cssIDExclusion")); case Condition.SAC_PSEUDO_CLASS_CONDITION: - // this is a basic psuedo element condition; compare condition + // this is a basic pseudo-element condition; compare condition // against valid pattern and is not blacklisted by exclusion pattern return validateCondition( (AttributeCondition) condition, policy.getCommonRegularExpressions("cssPseudoElementSelector"), - policy.getCommonRegularExpressions("cssPsuedoElementExclusion")); + policy.getCommonRegularExpressions("cssPseudoElementExclusion")); case Condition.SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION: case Condition.SAC_ONE_OF_ATTRIBUTE_CONDITION: case Condition.SAC_ATTRIBUTE_CONDITION: diff --git a/src/main/resources/antisamy-anythinggoes.xml b/src/main/resources/antisamy-anythinggoes.xml index b872694c..1c3b3308 100644 --- a/src/main/resources/antisamy-anythinggoes.xml +++ b/src/main/resources/antisamy-anythinggoes.xml @@ -67,8 +67,8 @@ - - + + diff --git a/src/main/resources/antisamy-ebay.xml b/src/main/resources/antisamy-ebay.xml index f8af1f69..f947548b 100644 --- a/src/main/resources/antisamy-ebay.xml +++ b/src/main/resources/antisamy-ebay.xml @@ -65,8 +65,8 @@ - - + + diff --git a/src/main/resources/antisamy-myspace.xml b/src/main/resources/antisamy-myspace.xml index 36944968..496e913b 100644 --- a/src/main/resources/antisamy-myspace.xml +++ b/src/main/resources/antisamy-myspace.xml @@ -67,8 +67,8 @@ - - + + diff --git a/src/main/resources/antisamy.xml b/src/main/resources/antisamy.xml index b6ef1f88..98723840 100644 --- a/src/main/resources/antisamy.xml +++ b/src/main/resources/antisamy.xml @@ -71,8 +71,8 @@ - - + +