I noticed a weird behavior issue with the plugin admin section.
When uploading plugins, the jar is saved with the provided name, and a folder created with the same.
All fine and good, and updates of the same plugin with the same name go smoothly.
However, it is quite easy to make the mistake of uploading a differently named jar. (I was doing some testing yesterday and had named jars for a same plugin with different versions, say plugin1.jar plugin2.jar…
Openfire correctly uploads both, and then runs both, so the same plugin shows up twice, handlers also get registered twice.
I agree that is easily an ID10T or PEBKAC in nature, but there is another creepier and easier to trigger case, the classic repeated browser file download, which gives you files like “plugin.jar” “plugin.jar (2)”.
Might it be a good idea to consider enforcing name checks or a confirm of upload filename in the upload process in future openfire versions?
Thanks in advance