Skip to content

Commit 61e2e56

Browse files
committed
autoformat
1 parent f13a4f5 commit 61e2e56

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

javascript/ql/src/semmle/javascript/security/dataflow/UnsafeJQueryPluginCustomizations.qll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ module UnsafeJQueryPlugin {
194194
* Holds if there exists a jQuery plugin that likely expects `sink` to be treated as a HTML fragment.
195195
*/
196196
predicate isLikelyIntentionalHtmlSink(DataFlow::Node sink) {
197-
exists(JQuery::JQueryPluginMethod plugin, DataFlow::PropWrite defaultDef, string default, DataFlow::PropRead finalRead |
197+
exists(
198+
JQuery::JQueryPluginMethod plugin, DataFlow::PropWrite defaultDef, string default,
199+
DataFlow::PropRead finalRead
200+
|
198201
hasDefaultOption(plugin, defaultDef) and
199202
defaultDef.getPropertyName() = finalRead.getPropertyName() and
200203
defaultDef.getRhs().mayHaveStringValue(default) and

0 commit comments

Comments
 (0)