Minor edit. (UPDATE: Read my next post too! Some of the stuff in this post is inaccurate.)
I applied the changes proposed in
http://www.vaultwiki.org/issues/1958/#note9543
Tried setting up a new article:
Test article & % / ( & )
This fixes the revision page. When you edit and change the title the title is redirected to the proper article and displayed properly in the article you access via:
showwiki.php?title=Test+article+and+something+and+else&do =edit
It does however strip out the ( ) after an edit:
Article becomes
Test article & % / something & else
Another problem still remains on the thread view.
The changed title on the thread view still shows "Test article & % / ( & )" after an edit
Linking to : showwiki.php?title=Test+article+and+amp+and+amp
I can still rebuild URLs and then it links properly.
So the proposed fix seemed to fix half the problems, and also strips out some characters out of URL (although this might be by design?).
What might I have missed to make the thread list also show correct link and text after an edit?
Files that I applied changes to:
vault/tab/edit.php
vault/dm/revision.php
Be aware that the section you specified for replacement differed on one point from the "search" point.
trying to find this line had no result: $threadman->set('title', unhtmlspecialchars($this->fetch_field('title'), true));
But $threadman->set('title', unhtmlspecialchars($this->fetch_field('title'))); existed.