Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
fix: fragment serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckSoft committed May 2, 2021
1 parent 21d7b21 commit 9aa876a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Serializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class TrojanGoSerializer : public PluginOutboundHandler
query.addQueryItem("plugin", QUrl::toPercentEncoding(obj.plugin));
}
url.setQuery(query);
return url.toString(QUrl::FullyDecoded);
return url.toString(QUrl::FullyEncoded);
}
const QPair<QString, QJsonObject> DeserializeOutbound(const QString &url, QString *alias, QString *errorMessage) const override
{
Expand Down

0 comments on commit 9aa876a

Please sign in to comment.