| Index: Source/core/frame/csp/CSPDirectiveList.cpp
|
| diff --git a/Source/core/frame/csp/CSPDirectiveList.cpp b/Source/core/frame/csp/CSPDirectiveList.cpp
|
| index a0c50950f6c0bbbc4f43e89b7b8a335bcfdee7c5..d88ffc3725a9747107df8c71f57d77f543c839fa 100644
|
| --- a/Source/core/frame/csp/CSPDirectiveList.cpp
|
| +++ b/Source/core/frame/csp/CSPDirectiveList.cpp
|
| @@ -32,9 +32,7 @@ String getSha256String(const String& content)
|
| return "sha256-...";
|
| }
|
|
|
| - // For consistency with Subresource Integrity, we output base64url encoded
|
| - // data in error messages.
|
| - return "sha256-" + base64URLEncode(reinterpret_cast<char*>(digest.data()), digest.size(), Base64DoNotInsertLFs);
|
| + return "sha256-" + base64Encode(reinterpret_cast<char*>(digest.data()), digest.size(), Base64DoNotInsertLFs);
|
| }
|
|
|
| }
|
|
|