Skip to content

XSS in search highlight, filter state lost on refresh, double scan on…#109

Merged
blkdmr merged 1 commit into
pyfenn:mainfrom
topstar-ai:feature/issue_98
May 25, 2026
Merged

XSS in search highlight, filter state lost on refresh, double scan on…#109
blkdmr merged 1 commit into
pyfenn:mainfrom
topstar-ai:feature/issue_98

Conversation

@topstar-ai
Copy link
Copy Markdown
Contributor

… project page

Pro 1 — Replace innerHTML highlight injection with DOM node construction (createTextNode + createElement) to prevent XSS from log message content.

Pro2 — Auto-refresh now appends new log entries to the DOM instead of calling location.reload(), so filters, search, and scroll are preserved. Full reload only when session status changes.

Pro3 — Extracted _build_projects_list(sessions) so get_project() calls get_all_sessions() once instead of twice per request.

… project page

Pro 1 — Replace innerHTML highlight injection with DOM node construction
(createTextNode + createElement) to prevent XSS from log message content.

Pro2 — Auto-refresh now appends new log entries to the DOM instead of
calling location.reload(), so filters, search, and scroll are preserved.
Full reload only when session status changes.

Pro3 — Extracted _build_projects_list(sessions) so get_project() calls
get_all_sessions() once instead of twice per request.
@blkdmr blkdmr merged commit cf4c3e3 into pyfenn:main May 25, 2026
0 of 2 checks passed
@blkdmr
Copy link
Copy Markdown
Collaborator

blkdmr commented May 25, 2026

Thank you very much for your work!

@topstar-ai
Copy link
Copy Markdown
Contributor Author

Hi. @blkdmr .
Welcome.
I will continue and try to make time to solve issues.
Best regards.

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