Index: typo3/sysext/version/cm1/index.php =================================================================== --- typo3/sysext/version/cm1/index.php (revision 5713) +++ typo3/sysext/version/cm1/index.php (working copy) @@ -1060,7 +1060,7 @@ } $onClick = 'var commentTxt=window.prompt("'.sprintf($label,$itemCount).'",""); - if (commentTxt!=null) {window.location.href="'.$this->doc->issueCommand($issueCmd,$this->REQUEST_URI).'&generalComment="+escape(commentTxt);}'; + if (commentTxt!=null) {window.location.href="'.$this->doc->issueCommand($issueCmd,$this->REQUEST_URI).'&generalComment="+encodeURI(commentTxt);}'; if (t3lib_div::_GP('sendToReview')) { $onClick.= ' else {window.location.href = "'.$this->REQUEST_URI.'"}'; @@ -1624,7 +1624,7 @@ if (commentTxt!=null) {window.location.href="'.$this->doc->issueCommand( '&cmd['.$table.']['.$rec_off['uid'].'][version][action]=setStage'. '&cmd['.$table.']['.$rec_off['uid'].'][version][stageId]=-1' - ).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+escape(commentTxt);}'. + ).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+encodeURI(commentTxt);}'. ' return false;'; // Reject: $actionLinks.= @@ -1645,7 +1645,7 @@ if (commentTxt!=null) {window.location.href="'.$this->doc->issueCommand( '&cmd['.$table.']['.$rec_off['uid'].'][version][action]=setStage'. '&cmd['.$table.']['.$rec_off['uid'].'][version][stageId]='.$sId - ).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+escape(commentTxt);}'. + ).'&cmd['.$table.']['.$rec_off['uid'].'][version][comment]="+encodeURI(commentTxt);}'. ' return false;'; if ($rec_off['t3ver_stage']!=10) { $actionLinks.=