Using WYSIWYG / TinyMCE I add a link to http://www.example.com/~user/node/60 ... This is converted to http://www.example.com/%7Euser/node/60 before it is saved.

Perhaps Pathfilter could detect encoded characters and decode them before it compares with the base site url?

CommentFileSizeAuthor
#1 pathfilter-618610-encodedpaths.patch1.25 KBmstrelan

Comments

mstrelan’s picture

Status: Active » Needs review
StatusFileSize
new1.25 KB

This is actually quite a simple fix, took me a while to figure it out though. Patch attached, please test.

mrfelton’s picture

Status: Needs review » Fixed

Seems to do the job. Committed to CVS - thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.