diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-11-25 21:24:08 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-11-25 21:24:08 +0300 |
commit | d4f8c50e0b8609481aa43614a2715477724087b1 (patch) | |
tree | ac8e819c9cf896653c10c0977a74687e0b80da01 /app/src/main/java/it/niedermann | |
parent | 51c1c7de02f8f022bd697bd1fb440ac10156d2e7 (diff) | |
parent | 99a5c11fc1b16ec71a006f9dae4b9d8877f73ae5 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'app/src/main/java/it/niedermann')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/util/ProjectUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/util/ProjectUtil.java b/app/src/main/java/it/niedermann/nextcloud/deck/util/ProjectUtil.java index a0046c7ec..58c465290 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/util/ProjectUtil.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/util/ProjectUtil.java @@ -50,7 +50,7 @@ public class ProjectUtil { throw new IllegalArgumentException("trimmed url is empty"); } // extract important part - String[] splitByPrefix = url.split(".*index\\.php/apps/deck(/#)?/board/"); + String[] splitByPrefix = url.split(".*(index\\.php/)?apps/deck(/#)?/board/"); // split into board- and card part if (splitByPrefix.length < 2) { throw new IllegalArgumentException("This URL doesn't seem to be an URL containing the boardId: \"" + url + "\""); |