-
Notifications
You must be signed in to change notification settings - Fork 49
EPrints::Update::Static exposes filesystem information #407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't agree with this commit. The path is useful information, especially for debugging. |
Perhaps it would be better to include only the file path after .../auto/ (e.g. We have experimental code in our repository that minifies auto.js and auto.css as they're being generated; I'm pretty sure I did a similar thing there (shrinking source filenames), but I don't have access to the source repository right now as I'm out of office. |
I was able to recreate the branch against 3.3: https://github.com/QUTlib/eprints/tree/feature/auto-minifiers The relevant part of the diff is essentially: - print $fh "\n\n\n/* From: $path */\n\n";
+ print $fh "\n/*+$fn*/\n"; |
Thanks Matthew, this solution is good enough to avoid exposing the filesystem and should be used as a quick fix. |
I think Matthews solution is fine. |
Because you are supposed not to work directly on your production server. |
Does the 'developer mode' alter the noise? |
Of course your first statement is clear to me. But did you try out noise = 4 once? You wouldn't see the forest anymore because of so many trees. |
For example, in my development machine I have a file called |
Sorry, I just realized I forgot the comment line in my pull https://github.com/denics/eprints/commit/2175f0f597b7c3e40d255afe420219226a920243 |
Uh oh!
There was an error while loading. Please reload this page.
EPrints::Update::Static exposes filesystem when creating auto.js and auto.css this can be avoided by commenting line 270, or adding a test if we are debugging
The text was updated successfully, but these errors were encountered: