mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-02 09:43:45 +00:00
fix bug (#11)
This commit is contained in:
1 parent
3ea867e4b8
commit
ffbd262aae
2 files changed
+593
-570
No files matched your search
+592
-569
File diff suppressed because it is too large.
Load diff
@@ -1583,7 +1583,7 @@ void explodeStdVless(std::string vless, Proxy &node) {
|
||||
remarks = urlDecode(vless.substr(pos + 1));
|
||||
vless.erase(pos);
|
||||
}
|
||||
const std::string stdvless_matcher = R"(^([\da-f]{4}(?:[\da-f]{4}-){4}[\da-f]{12})@\[?([\d\-a-zA-Z:.]+)\]?:(\d+)(?:\/?\?(.*))?$)";
|
||||
const std::string stdvless_matcher = R"(^([\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12})@\[?([\d\-a-zA-Z:.]+)\]?:(\d+)(?:\/?\?(.*))?$)";
|
||||
if (regGetMatch(vless, stdvless_matcher, 5, 0, &id, &add, &port, &addition))
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user