sarutak commented on code in PR #52481:
URL: https://github.com/apache/spark/pull/52481#discussion_r2593727589
##########
core/src/main/scala/org/apache/spark/SparkConf.scala:
##########
@@ -314,7 +315,12 @@ class SparkConf(loadDefaults: Boolean)
/** Set a configuration variable. */
def set(key: String, value: String): SparkConf = {
- set(key, value, false)
+ if (key == "spark.app.name") {
+ // Escape HTML in the app name
+ set(key, StringEscapeUtils.escapeHtml4(value), false)
Review Comment:
This change is not acceptable.
Please see [this
discussion](https://github.com/apache/spark/pull/52084/files#r2302089090).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]