So, I was testing a patch with respect to moved topic notices being excluded from RSS feeds (there's no need to syndicate them)
Now, I don't have topic URLs or board URLs prettified, but I do have profile names prettified from other testing I was doing (and set to localhost/wedge/profile/UserName/)
Anyway, so I did the redirect notice, and the body of the post notice has this when you look at it:
Code: [Select]
The latter part is a link to the post, and that works correctly, but the body text is being manipulated when it shouldn't be.
The post's physical content is:
Code: [Select]
And that iurl tag is being rewritten to:
Code: [Select]
The rewriter is rewriting things not actually in the innards of a tag, but inside the tag's contents.
Now, I don't have topic URLs or board URLs prettified, but I do have profile names prettified from other testing I was doing (and set to localhost/wedge/profile/UserName/)
Anyway, so I did the redirect notice, and the body of the post notice has this when you look at it:
This topic has been moved to New Board
?topic=34.0
The latter part is a link to the post, and that works correctly, but the body text is being manipulated when it shouldn't be.
The post's physical content is:
This topic has been moved to [url=http://localhost/wedge/index.php?board=4.0]New Board[/url]<br><br>[iurl]http://localhost/wedge/index.php?topic=34.0[/iurl]
And that iurl tag is being rewritten to:
<a href="/wedge/index.php?topic=34.0" class="bbc_link raw">?topic=34.0</a>
The rewriter is rewriting things not actually in the innards of a tag, but inside the tag's contents.