feat: introduce new env ALLOW_UNSAFE_DATA_SCHEME to allow rendering data uri scheme (#21321)

This commit is contained in:
kurokobo
2025-07-09 11:12:40 +09:00
committed by GitHub
parent 521488f926
commit e39236186d
10 changed files with 22 additions and 1 deletions

View File

@@ -826,6 +826,9 @@ MAX_ITERATIONS_NUM=99
# The timeout for the text generation in millisecond
TEXT_GENERATION_TIMEOUT_MS=60000
# Allow rendering unsafe URLs which have "data:" scheme.
ALLOW_UNSAFE_DATA_SCHEME=false
# ------------------------------
# Environment Variables for db Service
# ------------------------------