Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ module DomBasedXss {
}

/**
* Holds if `prefix` is a prefix of `htmlString`, which may be intepreted as
* Holds if `prefix` is a prefix of `htmlString`, which may be interpreted as
* HTML by a jQuery method.
*/
predicate isPrefixOfJQueryHtmlString(DataFlow::Node htmlString, DataFlow::Node prefix) {
prefix = getAPrefixOfJQuerySelectorString(htmlString)
}

/**
* Holds if `prefix` is a prefix of `htmlString`, which may be intepreted as
* Holds if `prefix` is a prefix of `htmlString`, which may be interpreted as
* HTML by a jQuery method.
*/
private DataFlow::Node getAPrefixOfJQuerySelectorString(DataFlow::Node htmlString) {
Expand Down