Skip to content

Commit c69825c

Browse files
authored
Revert incorrect security changes to backend.py
1 parent cf81bf7 commit c69825c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

backend.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from utils.helpers import *
77
import time
88
import json
9-
import html
109

1110
# --- Flask Application Setup ---
1211
app = Flask(__name__)
@@ -100,9 +99,6 @@ def run_simulation_stream():
10099
if not is_valid:
101100
return result
102101

103-
# Escape result to prevent XSS
104-
result = html.escape(result)
105-
106102
# Build command
107103
command = build_simulation_command(result)
108104
logger.debug(f"Running streaming simulation with command: {' '.join(command)}")

0 commit comments

Comments
 (0)