You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ne...@apache.org on 2007/11/16 23:28:00 UTC
svn commit: r595847 - in /lenya/trunk/src/modules:
editors/usecases/forms/oneform.jx tinymce/xslt/page2edit.xsl
Author: nettings
Date: Fri Nov 16 14:27:58 2007
New Revision: 595847
URL: http://svn.apache.org/viewvc?rev=595847&view=rev
Log:
fix bug http://issues.apache.org/bugzilla/show_bug.cgi?id=43864 (oneform
and tiny eating umlauts).
it seems there is a general problem with encodings of http post
requests... we used to post urlencoded, which does not work with jetty.
this patch changes the mime type to multipart/form-data, which seems to
work. tomcat users please cross-check for regressions.
Modified:
lenya/trunk/src/modules/editors/usecases/forms/oneform.jx
lenya/trunk/src/modules/tinymce/xslt/page2edit.xsl
Modified: lenya/trunk/src/modules/editors/usecases/forms/oneform.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/editors/usecases/forms/oneform.jx?rev=595847&r1=595846&r2=595847&view=diff
==============================================================================
--- lenya/trunk/src/modules/editors/usecases/forms/oneform.jx (original)
+++ lenya/trunk/src/modules/editors/usecases/forms/oneform.jx Fri Nov 16 14:27:58 2007
@@ -35,7 +35,7 @@
<jx:import uri="fallback://lenya/modules/usecase/templates/messages.jx"/>
- <form method="post" name="oneform">
+ <form method="post" name="oneform" enctype="multipart/form-data">
<input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
<input type="hidden" name="lenya.usecase" value="${usecase.getName()}"/>
<jx:choose>
Modified: lenya/trunk/src/modules/tinymce/xslt/page2edit.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/tinymce/xslt/page2edit.xsl?rev=595847&r1=595846&r2=595847&view=diff
==============================================================================
--- lenya/trunk/src/modules/tinymce/xslt/page2edit.xsl (original)
+++ lenya/trunk/src/modules/tinymce/xslt/page2edit.xsl Fri Nov 16 14:27:58 2007
@@ -196,7 +196,7 @@
<xsl:comment>special code for the tinymce.edit usecase view</xsl:comment>
<xsl:text>
</xsl:text>
- <form method="post">
+ <form method="post" enctype="multipart/form-data">
<xsl:text>
</xsl:text>
<input type="hidden" name="lenya.continuation" value="{$continuationId}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org