If you attempt to send a link() to a client which contains the "&" character, the "&"s in the URL are replaced with ";".
Numbered Steps to Reproduce Problem:
1) Run the code snippet below.
2) Observe it opens the wrong URL.
Code Snippet (if applicable) to Reproduce Problem:
CLIENT << link("https://www.example.org/forum/index.php?a=1&b=2")
Expected Results:
Opens https://www.example.org/forum/index.php?a=1&b=2 in your browser.
Actual Results:
Opens https://www.example.org/forum/index.php?a=1;b=2 in your browser.
The & is replaced with ;
Does the problem occur:
It seems to happen every time.
When does the problem NOT occur?
On older versions of byond, such as 1528.
Did the problem NOT occur in any earlier versions?
No, it only started happening once I updated to 513.1534.
Workarounds:
Re-do all the URLs on your website to avoid using the & character.
Good luck.
I'm willing to change this if there's evidence it won't impact command line behavior in certain situations.