Description
Pages that try to highlight /* display incorrectly.
Steps to reproduce
Type /* into the search box and click the Text button to search for all pages with new style comments.
- Click any found page name.
- The page will display as several colored horizontal bars. Most textual content will be missing.
Example
Perform the above steps.
Follow this link: http://moinmo.in/Css3Columns?highlight=%28/%2A%29 (generated by doing a search for "/*", going to the second page and hitting the first hit there.
Component selection
- general
Details
This wiki.
Workaround
Discussion
Fixed by requiring the &highlight=... modifier to be a valid regular expression only and by fixing the code to generate a re (using re.escape if necessary).
Plan
- Priority:
- Assigned to:
Status: fixed by http://hg.moinmo.in/moin/1.7/rev/bfd3f600650b and http://hg.moinmo.in/moin/1.6/rev/e14a03eadb67