James Moger
2014-10-27 6ec71bc27f23c89f84bfb662ce180af3a9691dd8
Fix PluginManager not properly respecting --noverify
2 files modified
6 ■■■■■ changed files
releases.moxie 2 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/manager/PluginManager.java 4 ●●●● patch | view | raw | blame | history
releases.moxie
@@ -12,12 +12,14 @@
    fixes:
    - Fix French translation (pr-224, ticket-210)
    - Fix raw servlet trashing paths with spaces (ticket-211)
    - Fix PluginManager not properly respecting --noverify (ticket-209)
    changes: ~
    additions: ~
    dependencyChanges: ~
    contributors:
    - Pierre Templier
    - Barry Roberts 
    - Jan Å mucr
}
#
src/main/java/com/gitblit/manager/PluginManager.java
@@ -421,6 +421,10 @@
    protected File download(String url, boolean verifyChecksum) throws IOException {
        File file = downloadFile(url);
        if (!verifyChecksum) {
            return file;
        }
        File sha1File = null;
        try {
            sha1File = downloadFile(url + ".sha1");