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.
-
Solution: Forbidden 403 when using @ in mailto
Re: Solution: Forbidden 403 when using @ in mailto
Your code works for mewwwillem wrote: I hope this post saves someone else a couple of hours.
Have you look to your server logs?
Probably your provider has a close mod_security
Alby