Browse Source

Fix PluginManager not properly respecting --noverify

tags/v1.6.2
James Moger 9 years ago
parent
commit
6ec71bc27f
2 changed files with 6 additions and 0 deletions
  1. 2
    0
      releases.moxie
  2. 4
    0
      src/main/java/com/gitblit/manager/PluginManager.java

+ 2
- 0
releases.moxie View File

@@ -12,12 +12,14 @@ r26: {
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
}

#

+ 4
- 0
src/main/java/com/gitblit/manager/PluginManager.java View File

@@ -421,6 +421,10 @@ public class PluginManager implements IPluginManager, PluginStateListener {
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");

Loading…
Cancel
Save