Project

General

Profile

Bug #10970

OPTIONS * request generates assert

Added by Dries Mys 2 months ago. Updated 29 days ago.

Status:
Closed
Priority:
High
Target version:
Start date:
09/24/2022
Due date:
% Done:

100%

Estimated time:

Description

Issuing the following (valid) http request:

OPTIONS * HTTP/1.1

triggers the following assert

assert(path.empty() || path[0] == '/');

due to path being *.

Not sure if this is just an assert issue, or that the * is indeed not handled correctly for OPTIONS requests.


Files

#1

Updated by Roel Standaert 2 months ago

  • Status changed from New to InProgress
  • Assignee set to Roel Standaert
  • Target version set to 4.9.0
#2

Updated by Roel Standaert 2 months ago

It appears that the easiest way to fix this is to disallow those kinds of requests. The patch (attached) is currently in review.

#3

Updated by Roel Standaert 2 months ago

  • Priority changed from Low to High
#4

Updated by Roel Standaert 2 months ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Korneel Dumon to Roel Standaert
  • % Done changed from 0 to 100
#5

Updated by Roel Standaert about 2 months ago

  • Status changed from Implemented @Emweb to Resolved
#6

Updated by Roel Standaert 29 days ago

  • Target version changed from 4.9.0 to 4.8.2
#7

Updated by Roel Standaert 29 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF