单击时 %40 变为 %2540 [英] %40 on click turns to %2540

查看:12
本文介绍了单击时 %40 变为 %2540的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当点击包含@ 符号的链接时,url 给我 %40,这正是我想要的.但是一旦我单击它,一秒钟后它在我单击后立即更改为 %2540.单击位于电子邮件中,然后定向到站点,其中 %40 更改为 %2540.我怎样才能让它停止改变?

when the link is clicked containing the @ symbol, the url gives me %40, which is what I want. But once I click it, one second later it changes to %2540 right after I click. The click is within an email, then directed to the site, where %40 changes to %2540. How can I make it stop changing?

它现在得到这样的参数:

it is getting the params like this now:

$email=Yii::app()->request->getParam('email');

不确定我应该提供哪些其他信息.

not sure what other information i should provide.

推荐答案

问题是您的 %40 再次被 url 编码(因为 % 编码为 %25),它给你 %2540.

The issue is that your %40 is url-encoded again (since % encodes to %25), which gives you %2540.

这篇关于单击时 %40 变为 %2540的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆