Skip to content

Function tfw_http_meth_str2id is totally wrong #2362

@EvgeniiMekhanik

Description

@EvgeniiMekhanik

In tfw_http_meth_str2id function we check first letter in chunk and the length of header and return method type according to it. It is totally wrong, because we return method 'PUT' if the real method was 'PAT' or 'POT'
and so on. This function should be reworked

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions