Support the ongoing development of Laravel.io →
Input Validation

Does anybody know a way of validating a .mobi upload?

I've tried both "x-mobipocket-ebook" and "octet-stream" as mime types to validate against, but the Symfony MimeType package sees these as .prc and .bin files respectively, .mobi does not seem to be listed.

Thanks

Last updated 3 years ago.
0

Bump...

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.