uuuh,
I forgot to encode the URL-Parameter in the Servlet...

> URLEncoder.encode(location, "UTF8")

Am Freitag, 9. Mai 2014 15:58:01 UTC+2 schrieb Benjamin Lietzau:
>
> I think the bug only appears, if the form contains Umlaute liek ä ü ö ß. 
> But usually utf-8 is able to work with it... but the App Engine? 
>
> Am Donnerstag, 6. März 2014 15:19:02 UTC+1 schrieb Benjamin Lietzau:
>>
>> There is a form with the action 
>> "BlobstoreServiceFactory.getBlobstoreService().createUploadUrl("/save")"
>>
>> <form class="ink-form" action="<%= 
>> BlobstoreServiceFactory.getBlobstoreService().createUploadUrl("/save") %>" 
>> method="post" onsubmit="return validate(this);" accept-charset="utf-8" 
>> enctype="multipart/form-data">
>>
>>
>> The servlet still works (all lines will execute), but the redirect at the 
>> end of the servlet doesn't work form time to time. Then theres only a white 
>> Page. The URL in the URL-Field is like ....
>> appspot.com/_ah/upload/verylongstring
>>
>> logger.log(Level.INFO, "Redirect to result.jsp");
>> resp.sendRedirect("/result.jsp?date=" + startDate + "&searchText=" + 
>> location);
>>
>>
>> The logs are all ok. 
>> What could it be?
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to