Closed markadrake closed 1 year ago
@Shazwazza,
I ran into various errors after running Smidge.Web
.
~/Smidge/Static
.Startup.cs:197
adds a non-existent file to a bundle. The application handles this error and continues to run.Please let me know if you would like me to check in the changes I made to remedy these issues. Respectively:
Please note that protectFileExtensions
has been renamed to keepFileExtensions
.
appsettings.json:
Smidge.Tests:
@Shazwazza or @PhyxionNL, I apologize for my persistence with this issue. Could either of you provide me some additional feedback, as I do have some time I can dedicate to working and addressing any problems or concerns? I do appreciate it. I appreciate your help,
All the best,
@Shazwazza if there is any feedback at all, I'm happy to try and implement the changes. Hope all is good sir!
Sorry for the delay, having a look now
Looks awesome, thanks so much 🎉
I'll ship a release asap
This has been pushed :) https://github.com/Shazwazza/Smidge/releases/tag/v4.2.0
Protect File Extensions
I deployed the Umbraco CMS to a secure enterprise environment and encountered an issue. Our security policies blocked the static asset bundles produced by Smidge. After troubleshooting, we discovered that network requests were being blocked because the file extensions were unknown. Smidge's file naming pattern changes the file extension.
With this PR, I hope to remedy the above issue by opting in through a configuration value
protectFileExtensions
.Please review my PR and I appreciate any critical feedback. I am not a C# developer.
protectFileExtensions
..css
or.js
).protectFileExtensions
is set totrue
.Sample Settings
Previously, without
protectFileExtensions
Now, with
protectFileExtensions