Actions
Defect #2324
closedWiki preview fails when title contains '
Status:
Closed
Priority:
Low
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-12-12
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
When you set a wiki entry title that contains an apostrophe (') char. Then preview fails due to a javascript error : the apostrophe char is not escaped in the request.
Updated by Jean-Philippe Lang over 16 years ago
- Status changed from New to Resolved
I'm not able to reproduce with latest trunk.
The title seems to be properly escaped by a backslash in the javascript of the preview link on wiki/edit view:
<a accesskey="r" href="#" onclick="new Ajax.Updater('preview', '/wiki/redmine/L\'apostrophe/preview', {asynchronous:true, evalScripts:true, method:'post', onComplete:function(request){Element.scrollTo('preview')}, parameters:Form.serialize('wiki_form')}); return false;">Preview</a>
Updated by Jean-Philippe Lang over 16 years ago
- Status changed from Resolved to Closed
Actions