Skip to content

Bind the LiveReload connector to loopback and check the websocket origin - #3072

Open
rzo1 wants to merge 1 commit into
mainfrom
livereload-loopback-only
Open

rzo1 wants to merge 1 commit into
mainfrom
livereload-loopback-only

Conversation

@rzo1

@rzo1 rzo1 commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

The LiveReload connector listened unauthenticated on all interfaces and accepted any websocket origin, leaking file change activity. It now binds to localhost by default and rejects handshakes from non-loopback origins. The previous behaviour is available via 0.0.0.0true in tomee-embedded-maven-plugin. Added tests for the origin check.

The dev-time livereload endpoint was reachable from the network and from any web page.
@rzo1 rzo1 self-assigned this Oct 7, 2026
@rzo1
rzo1 requested a review from jungm October 7, 2026 19:06
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.

1 participant