Project

General

Profile

Actions

Bug #10970

closed
DM RS

OPTIONS * request generates assert

Bug #10970: OPTIONS * request generates assert

Added by Dries Mys almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Roel Standaert
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

RS Updated by Roel Standaert almost 4 years ago Actions #1

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

RS Updated by Roel Standaert almost 4 years ago Actions #2

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

RS Updated by Roel Standaert almost 4 years ago Actions #3

  • Priority changed from Low to High

RS Updated by Roel Standaert almost 4 years ago Actions #4

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

RS Updated by Roel Standaert almost 4 years ago Actions #5

  • Status changed from Implemented @Emweb to Resolved

RS Updated by Roel Standaert almost 4 years ago Actions #6

  • Target version changed from 4.9.0 to 4.8.2

RS Updated by Roel Standaert almost 4 years ago Actions #7

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom