FSN#39763 Versie 4.17 base64_decode kapte string af bij url-safe '-' en '_'
svn path=/Slnkdwf/trunk/; revision=33070
This commit is contained in:
@@ -42,7 +42,7 @@ static const std::string base64_chars_urlsafe =
|
||||
"0123456789-_";
|
||||
|
||||
static inline bool is_base64(unsigned char c) {
|
||||
return (isalnum(c) || (c == '+') || (c == '/'));
|
||||
return (isalnum(c) || (c == '+') || (c == '/') || (c == '-') || (c == '_'));
|
||||
}
|
||||
|
||||
std::string base64_encode(unsigned char const* bytes_to_encode, unsigned int in_len, bool padding /* = true */, bool url_safe /* = false */) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Zorg dat versies alfabetisch altijd op elkaar volgen!
|
||||
#define SLNK_MAJOR_VERSION 4
|
||||
#define SLNK_MINOR_VERSION 16
|
||||
#define SLNK_MINOR_VERSION 17
|
||||
#define SLNK_BUILD_VERSION 0
|
||||
|
||||
// Define resource strings
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
V4.17 07-03-2017
|
||||
- base64_decode kapte string af bij url-safe '-' en '_'
|
||||
|
||||
V4.16 27-09-2016
|
||||
- hex_sha1_file van niet bestaande files leidde tot Access denied
|
||||
|
||||
|
||||
Reference in New Issue
Block a user