|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2020-02-02 22:05 UTC] bugreports at gmail dot com
[2020-02-02 22:13 UTC] info at ioweb dot gr
[2020-02-02 22:31 UTC] requinix@php.net
-Summary: mb_check_encoding doesn't work with base64
+Summary: mb_check_encoding doesn't return true with valid
base64 padded string
-Status: Open
+Status: Verified
-Package: Unknown/Other Function
+Package: mbstring related
[2020-02-02 22:31 UTC] requinix@php.net
[2020-02-02 22:43 UTC] nikic@php.net
[2020-02-02 22:50 UTC] requinix@php.net
[2020-02-03 05:15 UTC] info at ioweb dot gr
[2020-02-03 05:18 UTC] requinix@php.net
[2020-02-03 05:27 UTC] info at ioweb dot gr
[2020-02-03 06:05 UTC] requinix@php.net
-Summary: mb_check_encoding doesn't return true with valid
base64 padded string
+Summary: mb_check_encoding doesn't return true with valid
base64 strings
[2020-02-03 06:05 UTC] requinix@php.net
[2023-08-22 10:09 UTC] ady7788 at yahoo dot mail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 21:00:01 2025 UTC |
Description: ------------ mb_check_encoding is unable to detect strings that are encoded with base64, it will show false Example string "test" will yield "dGVzdA==" but mb_check_encoding fails to detect correctly this is a base64 encoded string Test script: --------------- $base64encoded = base64_encode("test"); $valid = mb_check_encoding($base64encoded, "BASE64"); Expected result: ---------------- $valid is true Actual result: -------------- $valid is false