Solution: Forbidden 403 when using @ in mailto
Posted: Tue Jun 09, 2009 2:51 pm
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.
-
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.
-