mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[GH-ISSUE #3731] HTML isolation failure causes code box to take effect #13365
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NaturezzZ on GitHub (Jul 9, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3731
Bug Report
Description
Bug Summary:
The code box does not isolate HTML code from being parsed by the browser, and it mistakenly takes effect.
Steps to Reproduce:
Step 1:
Type in the following prompt, and send it to LLM.
Step 2:
Type in
thank youand send it to LLM.Step 3:
Wait for a few seconds.
Expected Behavior:
The code is not executed.
Actual Behavior:
The browser is redirected to
localhost:3000according to the code.Environment
Open WebUI Version: v0.3.7
Ollama (if applicable): 0.1.48
Operating System: macOS 14.1
Browser (if applicable): Chrome 126.0.6478.127
Reproduction Details
You should type in
thank youand wait for a few seconds after its response.It consistently reproduces on Chrome, and appears less frequently on Safari.
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
Docker
Additional Information
None
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!