📅  最后修改于: 2022-03-11 14:51:46.808000             🧑  作者: Mango
They need to be percent-encoded:
> encodeURIComponent('&')
"%26"
So in your case, the URL would look like:
http://www.mysite.com?candy_name=M%26M