diff options
author | Marvin Borner | 2019-04-19 23:38:36 +0200 |
---|---|---|
committer | Marvin Borner | 2019-04-19 23:38:36 +0200 |
commit | 9fe9795c996a6e37e894f7e42ba8761320c47798 (patch) | |
tree | 2b3bc8b325ff0e3ea31a555e7bdbfba933194c5f /src/main/resources/views | |
parent | 5523bd7a5e30b09baa6bb3ccd23252d0ebef6000 (diff) |
Increased stability and security
Co-authored-by: LarsVomMars <lars@kroenner.eu>
Diffstat (limited to 'src/main/resources/views')
-rw-r--r-- | src/main/resources/views/files.rocker.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/resources/views/files.rocker.html b/src/main/resources/views/files.rocker.html index a31f6bb..02a7660 100644 --- a/src/main/resources/views/files.rocker.html +++ b/src/main/resources/views/files.rocker.html @@ -19,7 +19,9 @@ @for (int i = 0; i < path.split("/").length - 1; i++) { @path.split("/")[i] <i class='icon ion-ios-arrow-forward'></i> } - @path.split("/")[path.split("/").length - 1] + @if (path.split("/").length > 0) { + @(path.split("/")[path.split("/").length - 1]) + } </h2> <table id="table"> |