Browse Source

[core] fix parsing of chunk digits

Change-Id: I8fd5b916172c432b63329078e261a8ed5eff23dc
personal/stbuehler/wip
Stefan Bühler 2 years ago
parent
commit
7078063491
  1. 2
      src/main/filter_chunked.c

2
src/main/filter_chunked.c

@ -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