Description
Hi! I recently find this bug: Anchor with spaces is not working.
Steps to reproduce
- In one page (named page1) I create anchor link:
- before anchor here some text..here some text..here some text..here some text..here some text..
- after anchor here some text..here some text..here some text..here some text..here some text..
- And in another page I cheate a link:
- before link here some text..here some text..here some text..here some text..here some text..
- after link here some text..here some text..here some text..here some text..here some text..
- When I try to click this link with anchor, I go to the top of page1 instead of anchor at page1.
Example
Details
MoinMoin Version |
1.5.4 |
OS and Version |
OpenSuse linux 10.1 |
Python Version |
Python 2.4.2 |
Server Setup |
using moin.py as server |
Server Details |
without external web-server |
Language you are using the wiki in (set in the browser/UserPreferences) |
Russian |
Workaround
Avoid anchors with spaces, use LinkedTogetherAnchors
Discussion
This is IMHO not a bug, spaces are not allowed in URLs and HTML anchors and thus can't be handled by wikis as well. Maybe try using underscores?
Plan
- Priority:
- Assigned to:
Status: http://hg.moinmo.in/moin/1.8/rev/050428d1c044 now sanitizes anchors / fragment IDs in the same way for link and link target.