aboutsummaryrefslogtreecommitdiff
path: root/src/PercentEncodedCharacterDecoder.hpp
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2018-07-04 16:12:45 -0700
committerRichard Walters <rwalters@digitalstirling.com>2018-07-04 16:12:45 -0700
commit4603102722e1cc2abc3494c9446bc576d008e7fa (patch)
tree514456971b60e7f2f5aa427b630a9b6a4425818d /src/PercentEncodedCharacterDecoder.hpp
parent98a41c1c33cead6dcb6737d7e3038111814f672d (diff)
Fix bug in truncated host elements
For example, "[::1", where the square bracket at the end is missing. Handle truncated host element by checking the state we end up in after the entire string is parsed. Some states represent interal elements of a host name or address, and so if we're still in those states and run out of input characters, the input string was cut off early.
Diffstat (limited to 'src/PercentEncodedCharacterDecoder.hpp')
0 files changed, 0 insertions, 0 deletions