We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5dacc2 commit 6c22de5Copy full SHA for 6c22de5
V2rayNG/app/src/main/java/com/v2ray/ang/fmt/Hysteria2Fmt.kt
@@ -77,7 +77,10 @@ object Hysteria2Fmt : FmtBase() {
77
// interval range
78
portHoppingInterval = portHoppingInterval.substringBefore('-')
79
}
80
- dicQuery["mportHopInt"] = portHoppingInterval
+ val trimmedPortHoppingInterval = portHoppingInterval.trim()
81
+ if (trimmedPortHoppingInterval.isNotEmpty()) {
82
+ dicQuery["mportHopInt"] = trimmedPortHoppingInterval
83
+ }
84
85
if (config.pinnedCA256.isNotNullEmpty()) {
86
dicQuery["pinSHA256"] = config.pinnedCA256.orEmpty()
0 commit comments