Creating wiki pages with special characters may be problematic
|Target version:||Candidate for next minor release|
I recently noticed some little quirks when creating wiki pages with certain special characters.
For instance, I can write on a wiki page a link to a new page as [[M&P]]. As soon as I click on submit, the link to this page is shown in the wiki as M& (without the letter P). However, the resulting wiki page is called M&P.
The next problem is when I write a link as [[M#P]] on a wiki page and click on submit. This link is shown as M, the resulting wiki page gets the name M#P, which may dangerous because a hash # has a special meaning in URLs.
Let's look at a link [[M%P]]. The resulting link to this wiki page is correctly shown as M%P. But the wiki page itself is named M%25P.
My Redmine environment:
About your application's environment Ruby version 1.8.7 (x86_64-linux) RubyGems version 1.6.2 Rack version 1.1.1 Rails version 2.3.14 Active Record version 2.3.14 Active Resource version 2.3.14 Action Mailer version 2.3.14 Active Support version 2.3.14 Application root /opt/redmine-1.3.1-0/apps/redmine Environment production Database adapter mysql Database schema version 20110902000000 About your Redmine plugins Redmine Wiki Extensions plugin 0.3.8 Redmine Logs plugin 0.0.3
#2 Updated by André Bachmann almost 6 years ago
There is also a problem when using these characters in a wiki text (may be related with this issue, so I post it here): If I write a percent sign directly followd by a comma, the percent sign isn't shown in the resulting wiki page (only the comma is shown). If I write an ampersand directly followed by a comma, it is shown as x%x, which is quite weird.
#7 Updated by carlos castro almost 4 years ago
- File error.jpg added
Is this solved?
When i create a link that has an accent in a wiki it returns me his html code (check image)...
Redmine version 2.3.3.stable
Ruby version 2.0.0-p247 (2013-06-27) [x86_64-linux]
Rails version 3.2.13
Database adapter PostgreSQL
is there any workaround for this?