Hey again, I’m sorry that this isn’t a proper patch, this is the first time I’m having to suggest modifications to someone else’s library.
I found that the wvstrutils included as part of this package include a whitespace trimming function (that’s even used elsewhere in the file. Here’s the unidiff for my proposed change: diff --git a/crypto/wvx509.cc b/crypto/wvx509.cc index 93dae06..c59d5c3 100644 --- a/crypto/wvx509.cc +++ b/crypto/wvx509.cc @@ -1020,7 +1020,7 @@ static void parse_stack(WvStringParm ext, WvStringList &list, WvString stack_entry(*i); if (strstr(stack_entry, prefix)) { - WvString uri(stack_entry.edit() + prefix.len()); + WvString uri(trim_string(stack_entry.edit()) + prefix.len()); list.append(uri); } } I hope that’s helpful.