Logo
Explore Help
Sign In
asmhatre/spring-ai
Watch 1
Star 0
Fork 0
Code Activity
Files
68da642f9aead072ea30d944c8cf89206b20020d
spring-ai/chat-ui-htmx/output/03-escaping.txt
T
asmhatreandClaude Sonnet 5.5 68da642f9a Add chat-ui-htmx module: streaming chat page on Spring AI 2.0.2 with htmx and its SSE extension (vendored), MessageChatMemoryAdvisor keyed by the HTTP session, a Stop button, and the traps measured: EventSource strips one leading space per data line, model text must be HTML-escaped, a cancelled stream left the upstream connection open in 7 of 8 runs until an OkHttp interceptor calls Call.cancel (8 of 8 closed after), and the SDK push source ignores back-pressure (limitRate changes only the demand; a bounded buffer works). The model is a stub OpenAI-compatible SSE server written for the module; no real provider was run.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6Kg9RWSTJzyz6KP9X
2026-10-31 04:02:56 +00:00

2 lines
108 B
Plaintext
Raw Blame History

data sent to the browser: Here is &lt;b&gt;bold&lt;/b&gt; and &lt;img src=x onerror=alert(1)&gt; &amp; done
View Git Blame Copy Permalink
Powered by Gitea Version: 1.27.3 Page: 15ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API