From 0be2f7571a3052ead47b8539c3c6ece6cf60a55c Mon Sep 17 00:00:00 2001 From: Easton97-Jens <66330090+Easton97-Jens@users.noreply.github.com> Date: Thu, 28 May 2026 09:30:48 +0200 Subject: [PATCH] Fix URI fragment truncation parser differential --- src/transaction.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/transaction.cc b/src/transaction.cc index 8a83e12f3..7a12f459d 100644 --- a/src/transaction.cc +++ b/src/transaction.cc @@ -343,15 +343,6 @@ int Transaction::processURI(const char *uri, const char *method, m_uri = uri; std::string uri_s(uri); - // any uri-fragment that was received should only be retained in - // - m_uri - // - m_variableRequestURIRaw - // - m_variableRequestLine - size_t pos_raw_fragment = uri_s.find("#"); - if (pos_raw_fragment != std::string::npos) { - uri_s = uri_s.substr(0, pos_raw_fragment); - } - size_t pos_raw_query = uri_s.find("?"); std::string path_info_raw;