diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2018-07-04 16:12:45 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2018-07-04 16:12:45 -0700 |
commit | 4603102722e1cc2abc3494c9446bc576d008e7fa (patch) | |
tree | 514456971b60e7f2f5aa427b630a9b6a4425818d /include/Uri/Uri.hpp | |
parent | 98a41c1c33cead6dcb6737d7e3038111814f672d (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 'include/Uri/Uri.hpp')
0 files changed, 0 insertions, 0 deletions