Commit 278179f9 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Ignore newlines in class names. JM-1152

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9316 b35dd754-fafc-0310-a699-88a17e54d16e
parent 82eec113
...@@ -371,7 +371,7 @@ public class PluginManager { ...@@ -371,7 +371,7 @@ public class PluginManager {
} }
} }
String className = pluginXML.selectSingleNode("/plugin/class").getText(); String className = pluginXML.selectSingleNode("/plugin/class").getText().trim();
plugin = (Plugin)pluginLoader.loadClass(className).newInstance(); plugin = (Plugin)pluginLoader.loadClass(className).newInstance();
if (parentPluginNode != null) { if (parentPluginNode != null) {
String parentPlugin = parentPluginNode.getTextTrim(); String parentPlugin = parentPluginNode.getTextTrim();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment