[master] 9b8e2b17f Fix comment in the BASE64 decoding table

Nils Goroll nils.goroll at uplex.de
Thu Mar 25 10:36:05 UTC 2021


commit 9b8e2b17f351e0bcc17d8bc84ef7a073607ee2dd
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Mar 25 11:12:51 2021 +0100

    Fix comment in the BASE64 decoding table
    
    to match the character at position 0x2F '/'

diff --git a/vmod/vmod_blob_base64.c b/vmod/vmod_blob_base64.c
index b77c98e22..e275b963c 100644
--- a/vmod/vmod_blob_base64.c
+++ b/vmod/vmod_blob_base64.c
@@ -50,7 +50,7 @@ static const struct b64_alphabet {
 			ILL, ILL, ILL, ILL, ILL, ILL, ILL, ILL,
 			ILL, ILL, ILL, ILL, ILL, ILL, ILL, ILL,
 			ILL, ILL, ILL, ILL, ILL, ILL, ILL, ILL,
-			ILL, ILL, ILL,  62, ILL, ILL, ILL,  63, /* +, -    */
+			ILL, ILL, ILL,  62, ILL, ILL, ILL,  63, /* +, /    */
 			 52,  53,  54,  55,  56,  57,  58,  59, /* 0 - 7   */
 			 60,  61, ILL, ILL, ILL, PAD, ILL, ILL, /* 8, 9, = */
 			ILL,   0,   1,   2,   3,   4,   5,   6, /* A - G   */


More information about the varnish-commit mailing list