Skip to content

Commit a9b572a

Browse files
committed
Add module level documentation to ui5/Sanitizers.qll
1 parent 6781bb2 commit a9b572a

File tree

1 file changed

+7
-1
lines changed
  • javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5

1 file changed

+7
-1
lines changed

javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5/Sanitizers.qll

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* A module to describe santizers that should be applied to out of the box queries.
3+
* To include various frameworks and concepts as need be.
4+
* Extension points will depend very much on which query is the intended affected one.
5+
*/
6+
17
import advanced_security.javascript.frameworks.ui5.UI5WebcomponentsReact
28

39
/**
@@ -11,7 +17,7 @@ class ExcludedSource extends DomBasedXss::Sanitizer {
1117
source.getElement().getName() in [
1218
"MultiComboBox", "Select", "ColorPicker", "ColorPaletteItem", "CalendarDate",
1319
"FileUploader", "CheckBox", "RadioButton", "Switch", "RatingIndicator", "Slider",
14-
"ProgressIndicator", "StepInput", "DynamicDateRange"
20+
"ProgressIndicator", "StepInput", "DynamicDateRange", "RangeSlider"
1521
] and
1622
this.(DataFlow::PropRead).getBase() = source
1723
)

0 commit comments

Comments
 (0)