Skip to content

Commit

Permalink
Merge pull request #15 from SetoKaiba/master
Browse files Browse the repository at this point in the history
fix the UUID match for upper case
  • Loading branch information
Larvan2 authored Oct 15, 2024
2 parents f51dad6 + 865ab56 commit bef6cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/subparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,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]{4}(?:[\da-fA-F]{4}-){4}[\da-fA-F]{12})@\[?([\d\-a-zA-Z:.]+)\]?:(\d+)(?:\/?\?(.*))?$)";
if(regGetMatch(vless, stdvless_matcher, 5, 0, &id, &add, &port, &addition))
return;

Expand Down

0 comments on commit bef6cbf

Please sign in to comment.