mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
Fix #1215
This commit is contained in:
parent
c82d1e52cc
commit
7fb0254794
1 changed files with 1 additions and 1 deletions
|
@ -4966,7 +4966,7 @@ inline bool Server::parse_request_line(const char *s, Request &req) {
|
|||
|
||||
{
|
||||
// Skip URL fragment
|
||||
for (size_t i = 0; i < len; i++) {
|
||||
for (size_t i = 0; i < req.target.size(); i++) {
|
||||
if (req.target[i] == '#') {
|
||||
req.target.erase(i);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue