电子邮件地址作为 GET 参数

Email Address as GET argument

在 URL 中,您可以执行 GET 参数(例如:http://www.google.com?hello=world) how would I be able to include an email address in this format? In a perfect world I would like to be able to do http://www.google.com?email=12345@gmail.com 但是当我现在尝试时,@ 符号搞砸了。我是否必须将其转换为网络安全文本在发送 HTTP 请求之前再将其转换回服务器?提前致谢!

您可以尝试 url 对 @ 符号进行编码,这将涉及将 @ 替换为 %40