Unverified Commit 66180e2a authored by mvdbeek's avatar mvdbeek
Browse files

Do URL encoding of workflow slug

parent ebc74c7a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -101,9 +101,9 @@ export default {
            return `${getAppRoot()}workflows/${this.workflow.id}/invocations`;
        },
        urlViewShared() {
            return `${getAppRoot()}workflow/display_by_username_and_slug?username=${this.workflow.owner}&slug=${
                this.workflow.slug
            }`;
            return `${getAppRoot()}workflow/display_by_username_and_slug?username=${
                this.workflow.owner
            }&slug=${encodeURIComponent(this.workflow.slug)}`;
        },
        readOnly() {
            return !!this.workflow.shared;