Hi,
i have problem with my register controller!
when i sent a message with url generation for activation (urlManager->createAbsoluteUrl) i have amp;
that add in my url in gmail, on yahoo, it isn’t exist!
i don’t konow why
Gmail
yahoo
thank
Hi,
i have problem with my register controller!
when i sent a message with url generation for activation (urlManager->createAbsoluteUrl) i have amp;
that add in my url in gmail, on yahoo, it isn’t exist!
i don’t konow why
Gmail
yahoo
thank
Please post your code for [color=#1C2837][size=2]createAbsoluteUrl()[/size][/color]
code
$activationLink = Yii::$app->urlManager->createAbsoluteUrl([‘registration/confirm’,‘id’=>$stud,‘key’=>$authKe->authKey])
The call seems fine so I don’t see why would be this difference, could be gmail is doing this encoding.
Btw "&" is the HTML special character for "&" so did you try this link, it probably works anyway.
More info - http://stackoverflow.com/questions/15776556/whats-the-difference-between-and-amp-in-html5