allow for web urls. a windows only issue? - #223
Conversation
|
An interesting idea - can you give an example of how you're using this? |
|
Sure. I'm using a framework that has page schemas. I define a list of resources and they get loaded depending on the page. The framework also has the option to minify these sources. A problem can occur with this as external resources are not included in the min file and just linked as separate resources after the min file. If the order of the loaded resources is important (as it often is) then this minifaction process can be pointless for some page groups. With this mod, however, all of the resources can be put into the one minified file and in the correct order at once. |
|
this mod, however, does create an attack vector by means of man-in-the-middle, or if the hosts file on a windows server were tampered with. It would seem trusted intranet-served files would be the only safe resources to pull via this method. With that said, I'm not sure if this could be implemented without creating a security hole for those who might misuse it. =\ |
I was not able to pull a file from a url but this this edit I was. On windows.