TS-1927: Make ats_base64_decode able to handle the URL variant
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/986b254f Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/986b254f Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/986b254f Branch: refs/heads/3.3.x Commit: 986b254f2b289b3479143482b21c40f7379b2bd7 Parents: 8317f64 Author: Phil Sorber <[email protected]> Authored: Tue Jun 4 09:41:07 2013 -0600 Committer: Phil Sorber <[email protected]> Committed: Tue Jun 4 09:41:07 2013 -0600 ---------------------------------------------------------------------- CHANGES | 2 ++ lib/ts/ink_base64.cc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/986b254f/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index efd9670..12feab4 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,8 @@ Changes with Apache Traffic Server 3.3.3 + *) [TS-1927] Make ats_base64_decode able to handle the URL variant + *) [TS-1207] Move cacheurl plugin out of experimental *) [TS-1857] On CentOS the Lua plugin is built whether Lua is found or not. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/986b254f/lib/ts/ink_base64.cc ---------------------------------------------------------------------- diff --git a/lib/ts/ink_base64.cc b/lib/ts/ink_base64.cc index 0cffcf0..539c87f 100644 --- a/lib/ts/ink_base64.cc +++ b/lib/ts/ink_base64.cc @@ -110,9 +110,9 @@ ats_base64_encode(const char *inBuffer, size_t inBufferSize, char *outBuffer, si /* Converts a printable character to it's six bit representation */ const unsigned char printableToSixBit[256] = { 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, - 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 62, 64, 64, 64, 63, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 62, 64, 62, 64, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 64, 64, 64, 64, 64, 64, 64, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, - 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 64, 64, 64, 64, 64, 64, 26, 27, + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 64, 64, 64, 64, 63, 64, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
