Fixing the url overwrite bug reported on IRC.
The bug was:
Trying to submit a page form (via admin) with an overwrite url that is the same as the old overwrite url of the page currently being edited, the form validation will fail.
Added a test for the url overwrite bug reported by @rors
Fixed url overwrite bug
This fixes the bug we were seeing.
thanks very much, ojii