Page 1 of 1

Solution: Forbidden 403 when using @ in mailto

Posted: Tue Jun 09, 2009 2:51 pm
by wwwillem
Thought I would post this because I have both the problem, a weird one, and the solution.

In a User Designed Tag, I'm using something like:

    echo 'send email' . "\n";

Which on my staging platform worked fine, but on my production server results in "Could not save: 403 -- Forbidden" when you try to 'Submit' / 'Apply' the UDT. Replacing the '' with a '{mailto}' smarty-tag didn't fix it.

For whatever reason, the culprit is the ATsign. So this fixed it:

    echo 'send email' . "\n";

Even using "&atsign;" didn't work.

I hope this post saves someone else a couple of hours.

-

Re: Solution: Forbidden 403 when using @ in mailto

Posted: Tue Jun 09, 2009 3:57 pm
by alby
wwwillem wrote: I hope this post saves someone else a couple of hours.
Your code works for me

Have you look to your server logs?
Probably your provider has a close mod_security

Alby