Fixed bug #11189: Validation issue: value of attribute "method" cannot be "POST"...
authorPatrick Broens <patrick@netcreators.com>
Fri, 5 Jun 2009 07:45:33 +0000 (07:45 +0000)
committerPatrick Broens <patrick@netcreators.com>
Fri, 5 Jun 2009 07:45:33 +0000 (07:45 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5557 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_modsettings.php
t3lib/class.t3lib_tsstyleconfig.php
typo3/sysext/beuser/mod/index.php
typo3/sysext/rtehtmlarea/mod2/class.tx_rtehtmlarea_acronym_mod.php
typo3/sysext/rtehtmlarea/mod5/class.tx_rtehtmlarea_user.php
typo3/sysext/taskcenter/task/index.php

index f8b71df..df35035 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-05  Patrick Broens  <patrick@patrickbroens.nl>
+
+       * Fixed bug #11189: Validation issue: value of attribute "method" cannot be "POST"; must be one of "get", "post" 
+
 2009-06-04  Rupert Germann  <rupi@gmx.li>
        * New feature #11260: Speed up t3lib_div::xml2array by adding a two level cache (thanks to Fabrizio Branca)
 
index dbbbce1..1ab2e15 100644 (file)
@@ -549,7 +549,7 @@ class t3lib_modSettings {
 #TODO need to add parameters
                if ($useOwnForm AND trim($code)) {
                        $code = '
-               <form action="'.t3lib_div::getIndpEnv('SCRIPT_NAME').'" method="POST" name="'.$this->formName.'" enctype="'.$TYPO3_CONF_VARS['SYS']['form_enctype'].'">'.$code.'</form>';
+               <form action="' . t3lib_div::getIndpEnv('SCRIPT_NAME') . '" method="post" name="' . $this->formName . '" enctype="' . $TYPO3_CONF_VARS['SYS']['form_enctype'] . '">' . $code . '</form>';
                }
 
                return $code;
index 32b9519..1e80338 100644 (file)
@@ -176,7 +176,7 @@ class t3lib_tsStyleConfig extends t3lib_tsparser_ext        {
                        }
                </script>
                ';
-               $content.= '<form action="'.($script?$script:t3lib_div::linkThisScript()).'" name="'.$this->ext_CEformName.'" method="POST" enctype="'.$GLOBALS["TYPO3_CONF_VARS"]["SYS"]["form_enctype"].'">';
+               $content .= '<form action="' . ($script ? $script : t3lib_div::linkThisScript()) . '" name="' . $this->ext_CEformName . '" method="post" enctype="' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'] . '">';
                $content.= $addFields;
 #              $content.= '<input type="Submit" name="submit" value="Update"><BR>';
                $content.= $printFields;
index 90acbd1..b5c6209 100755 (executable)
@@ -1121,7 +1121,7 @@ class SC_mod_tools_be_user_index {
                $this->doc = t3lib_div::makeInstance('template');
                $this->doc->backPath = $GLOBALS['BACK_PATH'];
                $this->doc->setModuleTemplate('templates/beuser.html');
-               $this->doc->form='<form action="" method="POST">';
+               $this->doc->form = '<form action="" method="post">';
 
                                // JavaScript
                $this->doc->JScode = $this->doc->wrapScriptTags('
index d82e1f4..b3041ff 100644 (file)
@@ -54,7 +54,7 @@ class tx_rtehtmlarea_acronym_mod {
                $this->doc->styleSheetFile = "";
                $this->doc->styleSheetFile_post = "";
                $this->doc->bodyTagAdditions = 'class="popupwin" onload="init();"';
-               $this->doc->form = '<form action="" id="content" name="content" method="POST">';
+               $this->doc->form = '<form action="" id="content" name="content" method="post">';
                $JScode='
                        var dialog = window.opener.HTMLArea.Dialog.Acronym;
                        var plugin = dialog.plugin;
index 0096e45..27b5eaa 100644 (file)
@@ -61,7 +61,7 @@ class tx_rtehtmlarea_user {
 
                $this->doc->bodyTagAdditions = 'onload="Init();"';
                $this->doc->form = '
-       <form action="" id="process" name="process" method="POST">
+       <form action="" id="process" name="process" method="post">
                <input type="hidden" name="processContent" value="" />
                <input type="hidden" name="returnUrl" value="'.htmlspecialchars(t3lib_div::getIndpEnv('REQUEST_URI')).'" />
                ';
index 380e62a..2411e20 100755 (executable)
@@ -90,7 +90,7 @@ class SC_mod_user_task_index extends t3lib_SCbase {
                /* Setup document template */
                $this->doc = t3lib_div::makeInstance('noDoc');
                $this->doc->divClass = '';
-               $this->doc->form = '<form action="index.php" method="POST" name="editform">';
+               $this->doc->form = '<form action="index.php" method="post" name="editform">';
                $this->backPath = $this->doc->backPath = $BACK_PATH;
                $this->doc->loadPrototype();
                $this->doc->JScode = '  <script language="javascript" type="text/javascript">