URL:带有@的用户名 [英] URL: Username with @
本文介绍了URL:带有@的用户名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
要通过 URL 发送用户名和密码,我们使用以下方案:
To send username and password with a URL, we use this scheme:
http://username:password@www.my_site.com
但我的用户名是 my_email@gmail.com
.
问题在于 @
.
我该如何解决?
推荐答案
您需要将@ 编码为 %40.
You need to URL encode the @ as %40.
这篇关于URL:带有@的用户名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文