You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. There're many types not included in your MimeUtils.
For example woff and woff2 for fonts. So I can't use fonts as static resources on web presentation server.
I fix this problem with reflection:
`try {
Field field = MimeUtils.class.getDeclaredField("MIME_TYPES");
But I think it's not good practice. I will create pull request with added fields, but also I want to add static method, which will recieve 2 arguments, verify mime type and put it in the map
The text was updated successfully, but these errors were encountered:
…3138 to develop
* commit '6bd4e4bb80fd3add5bb3a4764fc876076a2cc3d7':
TSI-3138 reverted back CSRF enabling
TSI-3138 reverted back name of module (changed accidentally)
TSI-3138 removed unused import
TSI-3138 reverted back changes as it was not necessary (that changes were made due to invalid configuration)
TSI-3138 added claims to pass through conditions
TSI-3138 adding default key name
TSI-3138 added profile to distingish DefaulContentProvider and IshContentProvider
TSI-3138 added version for module
TSI-3138 added profile for tridion docs module
TSI-3299 Fixed ajax request data
TSI-3299 added necessary fields for API
Hi. There're many types not included in your MimeUtils.
For example woff and woff2 for fonts. So I can't use fonts as static resources on web presentation server.
I fix this problem with reflection:
`try {
Field field = MimeUtils.class.getDeclaredField("MIME_TYPES");
But I think it's not good practice. I will create pull request with added fields, but also I want to add static method, which will recieve 2 arguments, verify mime type and put it in the map
The text was updated successfully, but these errors were encountered: