Skip to content

fix(community): load the MIT remote map over https#2315

Open
jim-daf wants to merge 1 commit into
treehouses:masterfrom
jim-daf:fix-cleartext-map-url
Open

fix(community): load the MIT remote map over https#2315
jim-daf wants to merge 1 commit into
treehouses:masterfrom
jim-daf:fix-cleartext-map-url

Conversation

@jim-daf
Copy link
Copy Markdown

@jim-daf jim-daf commented May 15, 2026

Closes #2314.

CommunityFragment loads the community map WebView with a cleartext URL:

bind.map.loadUrl("http://maps.media.mit.edu/remote.html")

maps.media.mit.edu serves the same page over https, so the swap is a one-character change. Drops the cleartext leg of this load and the passive-observer on-path-injection surface that came with it. The app still keeps its global usesCleartextTraffic="true" for now, but that flag can eventually be dropped once every remaining cleartext call site is migrated too.

Change

kotlin
- bind.map.loadUrl("http://maps.media.mit.edu/remote.html")
+ bind.map.loadUrl("https://maps.media.mit.edu/remote.html")

CommunityFragment fed the community map WebView a cleartext URL
(http://maps.media.mit.edu/remote.html). maps.media.mit.edu serves
the same page over https, so the swap is a one-character change
that drops the cleartext leg of this load and the privacy hole that
goes with it (passive network observers can no longer see who
visits the page and tamper with the response). Tracker / community
behaviour does not change since the page itself is identical.
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.

CommunityFragment loads maps.media.mit.edu over http instead of https

1 participant