Intervention / validation

Missing Laravel Validation Rules
https://validation.intervention.io
MIT License
558 stars 65 forks source link

Take into account base64 encoded image #49

Closed bogdanN closed 3 years ago

bogdanN commented 3 years ago

Faced with the issue that doesn't allow to validate base64 encoded image. Here is a short fix for that

olivervogel commented 3 years ago

That is no base64 encoded image but a data url with base64 encoded data, which is a difference. However you can use the dataurl rule added in 2.7.0.

bogdanN commented 3 years ago

Yes, sure, you are right about data-url and I see that you added the new rule, thank you very much