sim590 / dpaste

A simple pastebin for light values (max 64KB) using OpenDHT distributed hash table (with support for encryption).
GNU General Public License v3.0
15 stars 4 forks source link

bin: fix ::find_first_of mistaken for ::find #10

Closed sim590 closed 6 years ago

sim590 commented 6 years ago

Method Bin::code_from_dpaste_uri was totally the wrong manipulation (and was still giving the right result when passed higher case PIN). Thanks to unit tests, this was spotted rapidly.