Skip to content

Commit f3ec2f4

Browse files
committed
escape slashes in branch name for share api call
conversation at https://discord.com/channels/862108724948500490/1239231122924109896
1 parent 220b3d5 commit f3ec2f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/get-share-hash.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ getHash() {
2222
if [[ -z "$name" ]]; then
2323
name="${parts[i]}"
2424
else
25-
name="$name/${parts[i]}"
25+
name="$name%2F${parts[i]}"
2626
fi
2727
done
2828
fi

0 commit comments

Comments
 (0)