Open Crecket opened 8 years ago
I feel like this is only an issue if you are using Munee without using a RewriteRule. So we shouldn't even be passing a font file through Munee. So the best way to go about this is to fix this part of the code:. If there were a good reason to run Fonts through Munee, this would be the 100% best fix.
What do you think?
I agree that it isn't the best way to go about this though, I'm not sure how we can fix it though. The code you referenced isn't reached because the Registry returns a File is not handled error
The reason it's running the font through Munee is because:
munee.php?files=my-css.css
munee.php?files=<path-to-file>
.If you were using a RewriteRule, this wouldn't be an issue, because Munee would not try to rewrite the URLs to run them through munee.php?files=<path-to-file>
.
So to stop this, in the code I linked to above, it needs to not rewrite the URL if it's a font. I hope that makes sense :)
This should fix the font-encoding issue for libraries like Font-Awesome. All it does is return the font-file and it stops Munee from returning the "Error: The following extension is not handled: woff2" error.
91