Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement/templating fix #733

Merged
merged 5 commits into from
Jan 2, 2025
Merged

Enhancement/templating fix #733

merged 5 commits into from
Jan 2, 2025

Conversation

mvgalen
Copy link
Collaborator

@mvgalen mvgalen commented Jan 2, 2025

What

This PR fixes issue #723

Why

% characters were crashing the templating engine in the async web server component.

How

For the log pages we now bypass the templating engine. Which removes the need for a template character, and thus does not limit the characters that can appear in the log file.
This also reverts PR #724 since those changes are no longer needed.

- Split index_html string in header and footer part
- Use header and footer for index html template page
- Fix missing html and head tags in minified index html.
- Do not use templating engine for debug and can log pages, by using index html header and footer directly in generated content.
This reverts commit 04a68fc.
The commit only fixed the symptoms not the cause.
This reverts commit af05f28.
The original commit only fixed the symptoms, the cause has been fixed,
now we ran revert these.
Copy link
Owner

@dalathegreat dalathegreat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@mvgalen mvgalen merged commit 3d1f535 into main Jan 2, 2025
104 checks passed
@mvgalen mvgalen deleted the enhancement/templating_fix branch January 2, 2025 12:22
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