phoenix.new git clone address has $RANDOM in url and does not work

When I copy the git clone address in phoenix.new it contains a $RANDOM variable.

I’ve tried this across multiple browsers and clearings of browser cache, the exact string $RANDOM appears in the git clone address. This does not work when I paste it into my terminal.

Any advice on how to resolve is much appreciated.

My shell doesn’t support $RANDOM as it acts inside bash. So, if you just replace the $RANDOM bit with something like xyz - it all works. Very confusing but resolved :+1:

1 Like

Can you give more details about your shell/os? We include $RANDOM as it’s a client provided value and it would prevent things like streamers leaking their tokenized url on air.

Fish shell, macOS - Once you know what is going on it is easy enough to fix. Protect the streamers!