mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merged revisions 50214 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2 ........ r50214 | sminnee | 2008-02-26 16:12:22 +1300 (Tue, 26 Feb 2008) | 2 lines A bit of a hack to fix double-escaped URLs in the CMS. ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50865 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d7196a438c
commit
6c5ee3ceb9
@ -171,6 +171,9 @@ class HtmlEditorField extends TextareaField {
|
||||
}
|
||||
// $imageTracking->destroy();
|
||||
}
|
||||
|
||||
// Sometimes clients will double-escape %20. Fix this up with this dirty hack
|
||||
$content = str_replace('%2520', '%20', $content);
|
||||
|
||||
$record->$fieldName = $content;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user