Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: Arantor on February 22nd, 2013, 06:11 AM

Title: Outgoing emails aren't passed through the rewriter
Post by: Arantor on February 22nd, 2013, 06:11 AM
This is potentially very awkward.

For starters, PM notifications (even before my tweaks) were set up to reply to $scripturl . ?action=pm;stuff and that still comes out in the emails. It also means we can't streamline those with <URL> replacements.

On top of that it also means that internal links won't be prettified in any fashion.

What we need to do then is have the entire rewrite buffer be encapsulated in a function that we can pass arbitrary content to and have it prettified? Seems to me that email content would need that. (And it should all be pushed into loadEmailTemplate these days, even those damn PM notifications)
Title: Re: Outgoing emails aren't passed through the rewriter
Post by: Arantor on August 23rd, 2013, 09:25 PM
I do believe this is fixed now... leaving it open for @Nao to confirm if possible.
Title: Re: Outgoing emails aren't passed through the rewriter
Post by: live627 on August 23rd, 2013, 10:00 PM
It looks fixed but I haven't PURLs on to test.
Title: Re: Outgoing emails aren't passed through the rewriter
Post by: Nao on August 24th, 2013, 10:05 AM
It is, as far as I can remember.