proxy: pass query parameters

fixes #3
This commit is contained in:
Vaxry
2025-04-13 23:39:15 +01:00
parent 305fb11b46
commit e7a35794cd

View File

@@ -305,6 +305,7 @@ void CServerHandler::proxyPass(const Pistache::Http::Request& req, Pistache::Htt
for (auto it = req.cookies().begin(); it != req.cookies().end(); ++it) {
builder.cookie(*it);
}
builder.params(req.query());
const auto HEADERS = req.headers().list();
for (auto& h : HEADERS) {
// FIXME: why does this break e.g. gitea if we include it?