Skip to content

[SPARK-59406][UI] Fix UI display on weird custom log names - #58699

Draft
holdenk wants to merge 2 commits into
apache:masterfrom
holdenk:f026-validate-custom-log-names
Draft

[SPARK-59406][UI] Fix UI display on weird custom log names#58699
holdenk wants to merge 2 commits into
apache:masterfrom
holdenk:f026-validate-custom-log-names

Conversation

@holdenk

@holdenk holdenk commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Better handling for custom log names and URLs

Why are the changes needed?

Custom log names can be weird, so let's validate that they're displayable before we display them.

Does this PR introduce any user-facing change?

Invalid log URLs will be replaced with "#"

How was this patch tested?

New unit tests

Was this patch authored or co-authored using generative AI tooling?

Claude and cursor

sfc-gh-hkarau and others added 2 commits September 10, 2026 04:19
Custom log names and URLs can contain markup characters, so escape
them when rendering the logs column and quote the href attribute.
Only http(s) and relative URLs are rendered as links; anything else
is shown as plain text.

Co-authored-by: Cursor <cursoragent@cursor.com>
…s intentional

The class covers the ASCII range browsers strip when parsing URLs, so
no-control-regex does not apply here.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

2 participants