Skip to content

Use double-quoted href attributes on the comment management page - #181

Merged
snoopdave merged 2 commits into
masterfrom
comment-author-url-quoting
Sep 7, 2026
Merged

Use double-quoted href attributes on the comment management page#181
snoopdave merged 2 commits into
masterfrom
comment-author-url-quoting

Conversation

@snoopdave

@snoopdave snoopdave commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

The links on the comment management screen (Comments.jsp) wrapped their <s:property/> URL values in single-quoted href attributes. This switches them to double-quoted attributes, matching the convention already used for URL-valued attributes elsewhere in the authoring UI — for example the bookmark URL in Bookmarks.jsp — so externally supplied URL values stay contained within the attribute.

A rule is added to AuthoringUiSinkAuditTest asserting that the comment author URL renders inside a double-quoted href, keeping the convention going forward.

Full app test suite green on JDK 11 (298 tests).

The comment management screen wrapped its <s:property/> URL values in
single-quoted href attributes. This switches them to double-quoted
attributes, matching the convention already used for URL-valued
attributes elsewhere in the authoring UI (for example the bookmark URL
in Bookmarks.jsp), so externally supplied URL values stay contained
within the attribute.

Adds a rule to AuthoringUiSinkAuditTest asserting the comment author URL
renders inside a double-quoted href.

Claude-Session: https://claude.ai/code/session_015X69HHQ5XnjRkJP8ymzwFf
@snoopdave snoopdave added the 6.1.6 label Sep 7, 2026
@snoopdave
snoopdave merged commit 6b7e246 into master Sep 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant