mirror of
https://github.com/php/php-src.git
synced 2026-04-22 23:48:14 +02:00
7a02704c0e
As the tests already show, the data URI wrapper is supposed to fail for corrupt input, but for some reason, one case of invalid input is still allowed to pass?! Strict base64 makes a lot more sense here. Also, Chromium and Firefox fail on invalid base64, so it's a logical choice for PHP as well.