actually the title of this topic is exaggerated, but indeed, the "action" parameter commonly used for the plugin administration can cause problems. Consider the following form:
Code: Select all
<form action="./?&pluginname" method="post">
<input type="hidden" name="admin" value="plugin_main">
<input type="hidden" name="action" value="plugin_save">
<!-- more form controls -->
<input type="submit">
</form>
Code: Select all
function onSubmit() {
this.action += "¶m=value";
}
I would suggest to rename the "action" parameter, but that would break most plugins. Simply adding an alias (e.g. xh_action) also doesn't solve the problem cleanly, because a plugin that would use the alias only, would not be backward compatible, or it would have to jump through hoops by using the proper name conditionally (based on which condition?).
Any ideas how to solve the issue?
Christoph