Skip to content
Snippets Groups Projects
Commit 40d563e1 authored by srosse's avatar srosse
Browse files

OO-4608: force absolute URL's in forums

parent d2386f66
No related branches found
No related tags found
No related merge requests found
......@@ -179,6 +179,8 @@ public class MessageEditController extends FormBasicController {
bodyEl.setMaxLength(MAX_BODY_LENGTH);
bodyEl.setNotLongerThanCheck(MAX_BODY_LENGTH, "input.toolong");
bodyEl.getEditorConfiguration().enableCharCount();
bodyEl.getEditorConfiguration().setRelativeUrls(false);
bodyEl.getEditorConfiguration().setRemoveScriptHost(false);
setEditPermissions(message);
// list existing attachments. init attachment layout now, to place it in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment