Description
Describe the bug...
Steps to reproduce
- Create a page
- Rename it to something with a colon in the title
- Go to the new page
- Try to rename it again, to remove the colon
Example
I'm not able to rename pages without logging in so I can't reproduce it here right now.
I managed to do this on my company's internal wiki. I was renaming a page, and pasted the URL of the new parent page rather than just the path portion. The page is now located at https:/wiki.example.com/Correct/Path (note only one slash) and can be viewed, but not renamed or deleted. This is because the HTML form for doing so has an action of https:/wiki.example.com/Correct/Path, which my web browser (Chrome) interprets as a relative path under the current Wiki domain, resulting in the form submission being sent to https://wiki.example.com/https%3A/wiki.example.com/Correct/Path which does not exist.
Component selection
- general
Details
MoinMoin Version |
1.9.3 |
OS and Version |
Debian 6.0.1 |
Python Version |
2.6 |
Server Setup |
Apache/2.2 mod_fcgid/2.3.6 |
Workaround
I've tried to manually perform the HTTP request to rename the page, but only get a 403 error:
$ POST 'https://wiki.example.com/https%3A/wiki.example.com/Correct/Path' <<< 'newpagename=Correct/Path&comment=butterfingers&ticket=xxxxx&action=RenamePage&name=Rename+Page'
Discussion
Plan
- Priority:
- Assigned to:
Status: duplicate of MoinMoinBugs/PagenameContainingColumn and MoinMoinBugs/PageEditorAndPageNamesWithColons