Dan Frankowski schrieb:
> I just filed this. Sorry I don't have time to create the patch right now.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1077769&group_id=6121&atid=106121
>
> [ 1077769 ] Renaming pages with spaces turns out bad
>
> I accidentally renamed a page to one that had a leading
> space. This is bad, and I think it should be prevented
> by trim()-ing the page name to rename to.
>
> Then I tried to rename it to one without a space, and
> all sorts of PHP errors appeared, and the page itself
> was entirely blasted out of existence. Fortunately I
> could recover it by other means.
good catch.
trim is already done, but I have to check rename problem.
also the rename in backlinked pages. I've fixed that lately but didn't
check yet.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
|