Commit 37dbf1c
[SPARK-39505][UI] Escape log content rendered in UI
### What changes were proposed in this pull request?
Escape log content rendered to the UI.
### Why are the changes needed?
Log content may contain reserved characters or other code in the log and be misinterpreted in the UI as HTML.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Existing tests
Closes apache#36902 from srowen/LogViewEscape.
Authored-by: Sean Owen <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>1 parent 9cc7cdc commit 37dbf1c
File tree
1 file changed
+2
-2
lines changed- core/src/main/resources/org/apache/spark/ui/static
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments