Solution: Forbidden 403 when using @ in mailto

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
wwwillem
Forum Members
Forum Members
Posts: 17
Joined: Sun Jan 06, 2008 8:16 pm

Solution: Forbidden 403 when using @ in mailto

Post 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.

-
alby

Re: Solution: Forbidden 403 when using @ in mailto

Post 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
Post Reply

Return to “CMSMS Core”