Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@IgnatBeresnev
Copy link
Contributor

Fixes #2754


val scripts = generatedFiles.getValue("root/test/-test/-test.html").let { Jsoup.parse(it) }.select("script")
val deferredScriptSources = scripts.filter { it.hasAttr("defer") }.map { it.attr("src") }
val deferredScriptSources = scripts.filter { element -> element.hasAttr("defer") }.map { it.attr("src") }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #2754 (comment) for the explanation

@IgnatBeresnev IgnatBeresnev merged commit f6ea66c into master Dec 15, 2022
@IgnatBeresnev IgnatBeresnev deleted the CVE-2022-36033_update-jsoup branch December 15, 2022 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade jsoup to 1.15.3 to mitigate against CVE vulnerability

3 participants