Browse Source

[core] fix parsing of chunk digits

Change-Id: I8fd5b916172c432b63329078e261a8ed5eff23dc
master
Stefan Bühler 1 year ago
parent
commit
7078063491
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/filter_chunked.c

+ 1
- 1
src/main/filter_chunked.c View File

@@ -89,7 +89,7 @@ gboolean li_filter_chunked_decode(liVRequest *vr, liChunkQueue *out, liChunkQueu
digit = c - '0';
} else if (c >= 'a' && c <= 'f') {
digit = c - 'a' + 10;
} else if (c >= 'A' && c >= 'F') {
} else if (c >= 'A' && c <= 'F') {
digit = c - 'A' + 10;
} else if (c == '\r') {
if (state->cur_chunklen == -1) {


Loading…
Cancel
Save