Project

General

Profile

Actions

Defect #10413

closed

Creating wiki pages with special characters may be problematic

Added by André Bachmann about 12 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

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&#38P.
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

Files

0001-Fix-6991-ampersand-in-pagename.patch (845 Bytes) 0001-Fix-6991-ampersand-in-pagename.patch Alexander Oryol, 2012-05-17 13:23
error.jpg (33.5 KB) error.jpg wiki error carlos castro, 2014-02-06 16:26

Related issues

Related to Redmine - Defect #14071: HTML links weird when using special charactersClosed

Actions
Is duplicate of Redmine - Defect #22967: Special character like quote breaks wiki linksClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF