Release network security config allows plain HTTP to 10.0.2.2 and localhost

未关闭 适合新手
#7,941 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

@samarkumar4355 已经在做这个了。

开始于 2026年12月2日。

  • #7975 来自 @samarkumar4355 —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
67/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
android, react-native, typescript
领域
mobile, security

调研方向

先阅读 android/app/src/main/res/xml/network_security_config.xml,并检查 Android 的 release 和 debug 源集如何使用网络安全配置。确认 release 构建中是否包含对 10.0.2.2 和 localhost 的明文访问;当这些开发主机仅在 debug 构建中被允许,且 release 行为已验证时,即为完成。

由索引模型根据 Issue 内容生成。

描述

type: bug

Hi! While testing a release linter on public builds, I noticed that 4.78.1's release APK allows cleartext traffic for 10.0.2.2 (the Android emulator's alias for the dev machine) and localhost, from android/app/src/main/res/xml/network_security_config.xml. Low impact, but those entries look like they belong in the debug source set only.

I'm planning to mention it as an example in a post about the benchmark in a few days. Happy to leave the name out if you prefer. Thanks!

主要语言
TypeScript
星标
2.4k
派生
1.5k
平均合并
5 天 16 小时
30 天内合并 PR
38

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

RocketChat/Rocket.Chat.ReactNative 的其他 Issue

查看 RocketChat/Rocket.Chat.ReactNative 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。