[TYPO3-project-formidable] BUG correction requests

Oliver Klee typo3-german-02 at oliverklee.de
Fri Jun 29 10:58:41 CEST 2007


Hi,

the action attribute in the form tag created by FORMidable 0.7.0 isn't
htmlspecialchared and thus contains unencoded ampersands which is
invalid HTML.

The involved code is in the mainrenderer class:

				if(($sAction = $this->oForm->_navConf("/meta/form/action")) !== FALSE) {
					$formaction = " action=\"" . $sAction . "\" ";
				} else {
					$formaction = " action=\"" .
t3lib_div::getIndpEnv("TYPO3_REQUEST_URL") . "\" ";
				}

I've attached a tested patch against the current trunk for solving the
problem.

Best regards,


Oliver


More information about the TYPO3-project-formidable mailing list