yiguodev:OneXray 在开发分支修复 Remnawave 订阅的 User-Agent 兼容问题

yiguodev 在 OneXray issue #226 中确认,提供方根据 User-Agent 选择响应格式,此前向 OneXray 返回了普通链接而非完整 Xray JSON。提交 31710296 为 Remnawave 预填最小 v2rayN/<OneXray version> 前缀并保留 OneXray 原有 UA 信息,也支持为每个订阅自定义 User-Agent,订阅地址保持不变。作者称已在 Android 模拟器验证导入、刷新及重启后的持久化,修复当时仍在开发分支。

作者原文

Thanks for sending the subscription! I reproduced the issue: the provider selects its response format based on the User-Agent and was returning ordinary links to OneXray instead of complete Xray JSON.

Fixed in 31710296. Selecting Remnawave now prefills a minimal v2rayN/<OneXray version> prefix followed by OneXray's normal UA details. You can also set a custom User-Agent per subscription. The subscription URL is used unchanged.

Verified importing, refreshing, and persistence after restarting the app on an Android emulator with the provided subscription. The fix is currently on the development branch.