diff options
| author | Dan Engelbrecht <[email protected]> | 2024-06-14 22:12:57 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-06-14 22:12:57 +0200 |
| commit | ee5fcbce34eaef87ffced2a993c8443af4af4fe2 (patch) | |
| tree | 7eeb7df5c48d11a2653e1536f39f4f0bf17f0b53 /src/zenhttp/servers/httpparser.cpp | |
| parent | workspace share path hardening (#95) (diff) | |
| download | zen-ee5fcbce34eaef87ffced2a993c8443af4af4fe2.tar.xz zen-ee5fcbce34eaef87ffced2a993c8443af4af4fe2.zip | |
don't assert that we have moved bytes if source block is zero size (#97)
* don't assert that we have moved bytes if source block is zero size
* handle invalid session ids gracefully
Diffstat (limited to 'src/zenhttp/servers/httpparser.cpp')
| -rw-r--r-- | src/zenhttp/servers/httpparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhttp/servers/httpparser.cpp b/src/zenhttp/servers/httpparser.cpp index b848a5243..6829faa4a 100644 --- a/src/zenhttp/servers/httpparser.cpp +++ b/src/zenhttp/servers/httpparser.cpp @@ -149,7 +149,7 @@ HttpRequestParser::AppendCurrentHeader() } else if (HeaderHash == HashSession) { - m_SessionId = Oid::FromHexString(HeaderValue); + m_SessionId = Oid::TryFromHexString(HeaderValue); } else if (HeaderHash == HashRequest) { |