Index: Source/core/page/DOMWindowBase64.cpp |
diff --git a/Source/core/page/DOMWindowBase64.cpp b/Source/core/page/DOMWindowBase64.cpp |
index 736668c68d29d8c5a344421d1aa205a5e68efdd2..7d3252ba2b935162078a5703378344a8d8e6a764 100644 |
--- a/Source/core/page/DOMWindowBase64.cpp |
+++ b/Source/core/page/DOMWindowBase64.cpp |
@@ -63,7 +63,7 @@ String atob(void*, const String& encodedString, ExceptionCode& ec) |
} |
Vector<char> out; |
- if (!base64Decode(encodedString, out, Base64FailOnInvalidCharacter)) { |
+ if (!base64Decode(encodedString, out, Base64FailOnInvalidCharacter, Base64StrictPaddingValidation)) { |
ec = InvalidCharacterError; |
return String(); |
} |