mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-21 19:30:26 +08:00
fix typo
This commit is contained in:
parent
d1553a1f31
commit
dacd98689b
@ -112,7 +112,7 @@ namespace Qv2ray::common
|
||||
}
|
||||
|
||||
// backported from QvPlugin-SSR.
|
||||
QString SafeBase64Encode(QString string) {
|
||||
QString SafeBase64Decode(QString string) {
|
||||
QByteArray ba = string.replace(QChar('-'), QChar('+')).replace(QChar('_'), QChar('/')).toUtf8();
|
||||
return QByteArray::fromBase64(ba, QByteArray::Base64Option::OmitTrailingEquals);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user