Fix ui, hide report date

This commit is contained in:
Audrius Butkevicius
2020-06-20 17:46:44 +01:00
parent 3fcf22ed5d
commit 16f2445764
22 changed files with 826 additions and 648 deletions
+2 -2
View File
@@ -602,7 +602,7 @@ func checkFilename(name string) error {
cleanedName := path.Clean(name)
if cleanedName != name {
// The filename on the wire should be in canonical format. If
// Clean() managed to clean it up, there was something wrong with
// ClearForVersion() managed to clean it up, there was something wrong with
// it.
return errUncleanFilename
}
@@ -618,7 +618,7 @@ func checkFilename(name string) error {
}
if strings.HasPrefix(name, "../") {
// Starting with a dotdot is not allowed. Any other dotdots would
// have been handled by the Clean() call at the top.
// have been handled by the ClearForVersion() call at the top.
return errInvalidFilename
}
return nil