The sound distributed version control system

#450 Filter linebreak from http::get_state() response

Closed on July 4, 2021
ammkrn on June 3, 2021

The response received by http::get_state() contains a linebreak that the current split(' ') doesn’t account for, so libpijul::Merkle::from_base32 will always fail and get_state will return None despite getting a valid response.

ammkrn added a change on June 3, 2021
FGVTXN52IVYIDIBPFOOUE7QQAZMPJQRADGKXW3DENIC6EVS4AYFAC
main
pmeunier on July 4, 2021

Thanks! Since your work has already caused a number of (nice) changes in the code for pull, pulling this patch wasn’t totally trivial, and many things needed to be fixed. This is done now, thanks!

pmeunier closed this discussion on July 4, 2021