Hey,
I find an issue when I try to import official interface translations ( *.po file). If I have the 'file_upload_secure_validator' enable, I get this error :
Error while uploading file: MimeTypeGuesser guessed 'text/x-po' and fileinfo 'application/octet-stream'
So I have to disable this module, do all my import and enable it again.
Can we had a configuration to exclude admin page for the check ?
Thanks,
Nicolas
Issue fork file_upload_secure_validator-3081934
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
stefanos.petrakisFirst step: Capture the problem with a test case
Comment #6
stefanos.petrakisCommited the solution, once the tests come out green, this is ready for review.
Comment #7
jcnventuraThis needs a refactor now that #3183160: Refactor equivalence groups is in.
Comment #8
jcnventuraComment #9
stefanos.petrakisThis one is now ready for review, I kept the new tests and moved the eq. group into the configuration.
Comment #10
jcnventuraDon't forget you also need to add the new config to the hook_update_8001() function. I've added that to the MR. I can try to test these soon(ish), but I'm happy that the test passes it.
Comment #11
jcnventuraComment #12
jcnventuraYou can't merge this without rebase.. I've done that already for the SVG issue.. I'll do that here, and set back to RTBC once I commt.
Comment #13
jcnventuraComment #15
stefanos.petrakisCommited, thanks!