Home servers over plain HTTP, on the home network only

http:// is accepted only for a private address (192.168.x, 10.x, 172.16-31.x, fd00::/8) or a .local/.lan/.home.arpa name,
and every connection checks the name still leads only to private addresses. Media over HTTP only from that server itself;
everything else stays HTTPS with public-address checks. The sign-in screen says plainly that a home server's traffic is
unencrypted. HTTPS remains the default for anything typed without a scheme.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-06 03:50:25 +00:00
co-authored by Claude Opus 5.5
parent 4a036df142
commit 4fc01b90be
9 changed files with 157 additions and 29 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-feature android:name="android.software.leanback" android:required="true" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<application android:label="Orbit TV" android:theme="@style/OrbitTheme" android:icon="@drawable/orbit_app_icon" android:banner="@drawable/orbit_banner" android:allowBackup="false" android:usesCleartextTraffic="false" android:supportsRtl="true">
<application android:label="Orbit TV" android:theme="@style/OrbitTheme" android:icon="@drawable/orbit_app_icon" android:banner="@drawable/orbit_banner" android:allowBackup="false" android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true">
<activity android:name=".MainActivity" android:exported="true" android:screenOrientation="landscape">
<intent-filter><action android:name="android.intent.action.MAIN" /><category android:name="android.intent.category.LEANBACK_LAUNCHER" /></intent-filter>
</activity>