ソースを参照

Fix PluginManager not properly respecting --noverify

tags/v1.6.2
James Moger 9年前
コミット
6ec71bc27f
2個のファイルの変更6行の追加0行の削除
  1. 2
    0
      releases.moxie
  2. 4
    0
      src/main/java/com/gitblit/manager/PluginManager.java

+ 2
- 0
releases.moxie ファイルの表示

@@ -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 ファイルの表示

@@ -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");

読み込み中…
キャンセル
保存