-2
我无法在smarty中获取此otp参数,因为它正在忽略来自url的+符号。 http://test.com/index.php?otp=+AU7Og==
我用下面的代码,但没有得到OTP参数
{$smarty.get.otp|escape:html}
{$smarty.get.otp|escape:htmlall}
我无法在smarty中获取此otp参数,因为它正在忽略来自url的+符号。 http://test.com/index.php?otp=+AU7Og==
我用下面的代码,但没有得到OTP参数
{$smarty.get.otp|escape:html}
{$smarty.get.otp|escape:htmlall}
这不是一个智者问题的值+ AU7Og ==。在查询URL时,+表示空格。如果要将其用作字符串参数的一部分,则必须对加号进行编码